diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-05-27 22:49:37 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-05-27 22:49:37 +0200 |
commit | 809fbf76bc81ecfc074e00292762444a155ab2ad (patch) | |
tree | 2ad00f6bd6ac0368e3f519d696104b013a9f4adc | |
parent | 22d796920449b37e4d7fa8c59d4ed93334e3ae37 (diff) | |
download | bin-809fbf76bc81ecfc074e00292762444a155ab2ad.zip bin-809fbf76bc81ecfc074e00292762444a155ab2ad.tar.gz |
bashrc: shorten PS1 path
-rw-r--r-- | bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,7 +10,8 @@ if [ `whoami` = "root" ]; then # effective uid export PS1='\[\033[01;47;31m\]\h\[\033[40;31m\] \u \[\033[37m\]\W \$ \[\033[00m\]' 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 $(parse_git_branch) \033[0m\$ ' fi PS2='> ' unset PROMPT_COMMAND |