diff options
-rw-r--r-- | bash/bashrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc index 9c148aaf..f504139f 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -180,6 +180,8 @@ function prompt { PS1="${color_prompt}${PS1}${color_norm} " case "$TERM" in screen*) PS1='\[\ek\h\e\\\]'${PS1};; + xterm*) PS1='\[\e]0;\h\a\]'${PS1};; + rxvt*) PS1='\[\e]2;\h\a\]'${PS1};; esac ;; |