chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get-rfc: Always download to $HOME/misc/rfc rather than the current
[bin.git]
/
xterm-title
diff --git
a/xterm-title
b/xterm-title
index 1fcea562e0aa8195bc9d26ef3358e865e2f28526..64ffea633c84d25be249fcbad354c3871fef3f47 100755
(executable)
--- a/
xterm-title
+++ b/
xterm-title
@@
-1,2
+1,4
@@
#! /bin/sh
-printf '\033]0;'"$*"'\a'
+if [ "$TERM" = xterm ] || [ "$TERM" = screen ]; then
+ printf '\033]0;'"$*"'\a'
+fi