Mercurial > ec-dotfiles
diff rc/bash @ 318:e15c84ae856d
solarized-compatible bash prompt.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sun, 18 Mar 2012 11:36:34 +0700 |
parents | 64e2702d40ae |
children | e59a766d5fa3 |
line wrap: on
line diff
--- a/rc/bash Sun Mar 18 11:36:01 2012 +0700 +++ b/rc/bash Sun Mar 18 11:36:34 2012 +0700 @@ -165,7 +165,7 @@ case "${TERM}" in xterm*|screen*|dtterm*) PROMPT_COMMAND='echo -ne "\033]0;'"${USER:-$LOGNAME}@$(uname -n)"': ${PWD}\007";'"${PROMPT_COMMAND}" - PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ ' + PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[0;34m\]\W\[\e[0m\]]\$ ' ;; *) PS1='[\u@\h \W]\$ '