diff rc/bashrc @ 434:a0f95c4f360c

Full path on prompt.
author Edho Arief <edho@myconan.net>
date Sun, 30 Dec 2012 01:56:20 +0700
parents 9d016276d889
children 4a71d0b1a4c6
line wrap: on
line diff
--- a/rc/bashrc	Sun Dec 30 01:48:14 2012 +0700
+++ b/rc/bashrc	Sun Dec 30 01:56:20 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