Removing extra space between ending ] and $

I also don't want the $ to change to BRIGHT red if the last command erors, I can see that just fine in the command output