Mercurial > ec-dotfiles
comparison rc/bashrc @ 436:d6ac822569c4
Updated the uncolored prompt style.
| author | Edho Arief <edho@myconan.net> |
|---|---|
| date | Sun, 30 Dec 2012 02:00:27 +0700 |
| parents | 4a71d0b1a4c6 |
| children | 1094159210e0 |
comparison
equal
deleted
inserted
replaced
| 435:4a71d0b1a4c6 | 436:d6ac822569c4 |
|---|---|
| 205 PATH="${PATH}:${supbindir}" | 205 PATH="${PATH}:${supbindir}" |
| 206 break | 206 break |
| 207 fi | 207 fi |
| 208 done | 208 done |
| 209 | 209 |
| 210 PS1='[\u@\h \W]\$ ' | 210 PS1='\u@\h:\w\$ ' |
| 211 case "${TERM}" in | 211 case "${TERM}" in |
| 212 xterm*|screen*|dtterm*) | 212 xterm*|screen*|dtterm*) |
| 213 PROMPT_COMMAND='echo -ne "\033]0;'"${USER:-$LOGNAME}@$(uname -n)"': ${PWD}\007";'"${PROMPT_COMMAND}" | 213 PROMPT_COMMAND='echo -ne "\033]0;'"${USER:-$LOGNAME}@$(uname -n)"': ${PWD}\007";'"${PROMPT_COMMAND}" |
| 214 # DragonFly's Bash is a bit buggy. | 214 # DragonFly's Bash is a bit buggy. |
| 215 if [ "$(uname)" != "DragonFly" ]; then | 215 if [ "$(uname)" != "DragonFly" ]; then |
