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:
parent
98206d0b10
commit
2ab0ac7234
2
.bashrc
2
.bashrc
@ -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.
|
# If this is an xterm set the title to user@host:dir.
|
||||||
case "$TERM" in
|
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
|
esac
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user