summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-03-14 20:03:17 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-03-14 20:03:17 +0100
commit90adac809f6abf6e66c72e1fddb3ec762a058c5b (patch)
treee60f87b1a1aafbd590de6e22526502059827d1fa /bashrc
parent538618c60f52b6ec81947f4a4e8b8152829e7658 (diff)
downloadbin-90adac809f6abf6e66c72e1fddb3ec762a058c5b.zip
bin-90adac809f6abf6e66c72e1fddb3ec762a058c5b.tar.gz
bashrc: try to fix prompt
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 3bc5715..0529cc7 100644
--- a/bashrc
+++ b/bashrc
@@ -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 \033[01;35m$(parse_git_branch)\033[0;33m \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