chiark / gitweb /
xterm-title: Allow $TERM = screen as well.
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Mon, 27 Jan 2003 13:57:24 +0000 (13:57 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Mon, 27 Jan 2003 13:57:24 +0000 (13:57 +0000)
xterm-title

index 2299cca..64ffea6 100755 (executable)
@@ -1,4 +1,4 @@
 #! /bin/sh
-if [ "$TERM" = xterm ]; then
+if [ "$TERM" = xterm ] || [ "$TERM" = screen ]; then
     printf '\033]0;'"$*"'\a'
 fi