From 3dc3bb2203074a9061e45f0338fb2c5071634555 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 20 Aug 2012 00:02:21 +1200 Subject: Restore title hacks --- bash/bashrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bash') 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 ;; -- cgit v1.2.3