diff -r 77da3f78d0d6 -r 3d5ba8711141 .bashrc --- a/.bashrc Mon Oct 22 15:18:32 2012 +0300 +++ b/.bashrc Mon Oct 22 21:00:36 2012 +0300 @@ -18,6 +18,11 @@ ;; esac +# Add current dir to xterm title. +case "$TERM" in + xterm*) PS1='\[\033]0;bash: \w\007\]'$PS1 ;; +esac + if command -v dircolors >/dev/null 2>&1 && [[ -f ~/.dircolors ]]; then eval "`dircolors -b ~/.dircolors`" fi