1
I am using bash on MacBook Air running macOS Mojave and wanted to change the color of terminal prompt.
I was helped on this question on SO and this IBM blog after which I used
export PS1="\[\e[30;47m\]\W\[\e[30;47m\]$\[\e[0m\]"
which has colour, wrapping, working directory and $.
It chan...