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 2299cca9e55b2d83c66bb3135295834f4737cb34..64ffea633c84d25be249fcbad354c3871fef3f47 100755 (executable)
@@ -1,4 +1,4 @@
 #! /bin/sh
-if [ "$TERM" = xterm ]; then
+if [ "$TERM" = xterm ] || [ "$TERM" = screen ]; then
     printf '\033]0;'"$*"'\a'
 fi