Mercurial > ec-dotfiles
changeset 318:e15c84ae856d
solarized-compatible bash prompt.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sun, 18 Mar 2012 11:36:34 +0700 |
parents | 64e2702d40ae |
children | 3a0bd37d37c0 |
files | rc/bash |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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]\$ '