1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2025-10-17 19:41:01 +00:00

Fix prompt command

This commit is contained in:
Holger Just 2011-07-18 13:07:23 +02:00
parent 98206d0b10
commit 2ab0ac7234

View File

@ -198,7 +198,7 @@ export PS1="$PS1$ps1_pwd$ps1_vcs$ps1_ruby \$ "
# If this is an xterm set the title to user@host:dir.
case "$TERM" in
xterm*|rxvt*) export PROMPT_COMMAND='echo -ne "\e]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' ;;
xterm*|rxvt*) export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' ;;
*) ;;
esac