author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 22 Oct 2012 21:00:36 +0300 | |
changeset 576 | 3d5ba8711141 |
parent 575 | 77da3f78d0d6 |
child 577 | 50e17493c476 |
--- 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