commit 356524508b8a76093c85bca486343462825f0581 parent ad3af894fe0773500b2b7add9077b9f5ec6e710f Author: Chris Bracken <cbracken@google.com> Date: Thu, 6 Sep 2012 09:46:06 -0700 Updated prompt to only include current dir, not full path. Diffstat:
M | .bashrc | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.bashrc b/.bashrc @@ -54,9 +54,9 @@ if [ -n "$force_color_prompt" ]; then fi if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' + PS1='${debian_chroot:+($debian_chroot)}\u@\h:\W\$ ' fi unset color_prompt force_color_prompt