
What I want to do, is to change the color, remove whitespace, use square brackets instead of round ones.

What I want to do, is to change the color, remove whitespace, use square brackets instead of round ones.
 
    
    Your question is similar to How to customize virtualenv shell prompt with two added ingredients:
So here you can find complete info.
Bash: https://unix.stackexchange.com/questions/124407/what-color-codes-can-i-use-in-my-ps1-prompt.
Win10: https://superuser.com/questions/427820/how-to-change-only-the-prompt-color-of-the-windows-command-line. See also How to echo with different colors in the Windows command line
