summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-05-27 22:49:37 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-05-27 22:49:37 +0200
commit809fbf76bc81ecfc074e00292762444a155ab2ad (patch)
tree2ad00f6bd6ac0368e3f519d696104b013a9f4adc
parent22d796920449b37e4d7fa8c59d4ed93334e3ae37 (diff)
downloadbin-809fbf76bc81ecfc074e00292762444a155ab2ad.zip
bin-809fbf76bc81ecfc074e00292762444a155ab2ad.tar.gz
bashrc: shorten PS1 path
-rw-r--r--bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 2b956dd..4efabea 100644
--- a/bashrc
+++ b/bashrc
@@ -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