aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-08-20 00:02:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-08-20 00:02:21 +1200
commit3dc3bb2203074a9061e45f0338fb2c5071634555 (patch)
treee0f46c1daf138bb13bf98fa314889f7ce5640099 /bash
parentSome more URxvt tweaks. Liking this (diff)
downloaddotfiles-3dc3bb2203074a9061e45f0338fb2c5071634555.tar.gz
dotfiles-3dc3bb2203074a9061e45f0338fb2c5071634555.zip
Restore title hacks
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc2
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
;;