Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Just be careful. Safest to properly end color sequence, so instead of this
- #export PS1="\[\033[01;32m\]\u\[\033[00m\]\[\033[01;31m\]\$(git_br)\[\033[01;32m\]\[\033[00m\]:\[\033[01;36m\]\$(git_pwd)\[\033[00m\]\$ "
- #do this
- USER_GREEN='\[\e[01;32m\]'
- #NO_COLOR='\[\e[00m\]'
- REPO_RED='\[\e[01;31m\]'
- PATH_BLUE='\[\e[01;36m\]'
- END_COLOR='\[\e[m\]'
- PS1="${USER_GREEN}\u${END_COLOR}${REPO_RED}\$(git_br)${END_COLOR}:${PATH_BLUE}\$(git_pwd)${END_COLOR}$ "
Add Comment
Please, Sign In to add comment