This commit is contained in:
Frederic Crozat 2018-04-17 20:46:15 +00:00 committed by GitHub
commit a2ff67e14e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ function title {
: ${2=$1}
case "$TERM" in
cygwin|xterm*|putty*|rxvt*|ansi)
cygwin|xterm*|putty*|rxvt*|ansi|screen*-s)
print -Pn "\e]2;$2:q\a" # set window name
print -Pn "\e]1;$1:q\a" # set tab name
;;