Mercurial > ec-dotfiles
diff rc/bashrc @ 435:4a71d0b1a4c6
Different, more compact style of prompt.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sun, 30 Dec 2012 01:56:46 +0700 |
parents | a0f95c4f360c |
children | d6ac822569c4 |
line wrap: on
line diff
--- a/rc/bashrc Sun Dec 30 01:56:20 2012 +0700 +++ b/rc/bashrc Sun Dec 30 01:56:46 2012 +0700 @@ -213,7 +213,7 @@ PROMPT_COMMAND='echo -ne "\033]0;'"${USER:-$LOGNAME}@$(uname -n)"': ${PWD}\007";'"${PROMPT_COMMAND}" # DragonFly's Bash is a bit buggy. if [ "$(uname)" != "DragonFly" ]; then - PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[0;36m\]\w\[\e[0m\]]\$ ' + PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;36m\]\w\[\e[0m\]\$ ' fi ;; esac