If you set background to white, you might be okay, but, if you prefer the night theme, like I do, you might prefer bold blue :
bolblue="\[\033[01;34m\]"
# Change command prompt
source ~/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
# '\u' adds the name of the current user to the prompt
# '\$(__git_ps1)' adds git-related stuff
# '\W' adds the name of the current directory
export PS1="$purple\u$green\$(__git_ps1)$bolblue \W $ $reset"
Hard-to-find tips on otherwise easy-to-do tasks involving everyday technology, with some advanced insight on history and culture thrown in. Brought to you by a master dabbler. T-S T-S's mission is to boost your competitiveness with every visit. This blog is committed to the elimination of the rat from the tree of evolution and the crust of the earth.
Showing posts with label GIT xterm unix prompt color formatting. Show all posts
Showing posts with label GIT xterm unix prompt color formatting. Show all posts
Monday, February 20, 2017
Subscribe to:
Posts (Atom)