diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-01-24 16:09:04 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-01-24 16:09:04 +0100 |
commit | 7a136f317c37e81c0d64f7e14a276935f6b9cc72 (patch) | |
tree | 7de89ae028c4ab4330f9407cfbbbef6bedd9dde6 /bashrc | |
parent | 870277e1bd012ed21e8aa9192a8682d96f2f1172 (diff) | |
download | bin-7a136f317c37e81c0d64f7e14a276935f6b9cc72.zip bin-7a136f317c37e81c0d64f7e14a276935f6b9cc72.tar.gz |
bashrc: colorize git branch in PROMPT
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ if [ `whoami` = "root" ]; then # effective uid else # export PS1='\[\033[01;47;31m\]\h\[\033[40;34m\] \u \[\033[37m\]\W $(parse_git_branch) \$ \[\033[00m\]' # export PS1='\033[01;33m\u\033[01;35m@\033[00;31m\h\033[00m:\033[0;33m \w $(parse_git_branch) \033[0m\$ ' - export PS1='\033[01;33m\u\033[01;35m@\033[00;31m\h\033[00m:\033[0;33m \W $(parse_git_branch) \033[0m\$ ' + export PS1='\033[01;33m\u\033[01;35m@\033[00;31m\h\033[00m:\033[0;33m \W \033[01;35m$(parse_git_branch)\033[0;33m \033[0m\$ ' fi PS2='> ' unset PROMPT_COMMAND |