bashrc: fix dynamic terminal title

This commit is contained in:
Aminda Suomalainen 2015-09-10 12:15:55 +03:00
parent 638b28d0bf
commit b645f33592

View File

@ -78,8 +78,8 @@ fi
# If this is an xterm set the title to user@host:dir # If this is an xterm set the title to user@host:dir
case "$TERM" in case "$TERM" in
xterm*|rxvt*) xterm*|*rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" PS1="\[\e]0;\u@\h: \w\a\]$PS1"
;; ;;
*) *)
;; ;;