mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
add support for interix on old boxes
This commit is contained in:
parent
4da2e78619
commit
88cde1149e
1 changed files with 6 additions and 1 deletions
|
@ -58,7 +58,12 @@ function title
|
||||||
# Use this for GNU Screen:
|
# Use this for GNU Screen:
|
||||||
print -nR $'\ek'$2$'\e'"\\"
|
print -nR $'\ek'$2$'\e'"\\"
|
||||||
;;
|
;;
|
||||||
xterm*|*rxvt*|cygwin|interix|Eterm|mlterm|kterm|aterm|putty*)
|
interix)
|
||||||
|
# Use this for interix as "2" makes it upset
|
||||||
|
shift
|
||||||
|
print -nR $'\e]0;'$@$'\a'
|
||||||
|
;;
|
||||||
|
xterm*|*rxvt*|cygwin|Eterm|mlterm|kterm|aterm|putty*)
|
||||||
# Use this one instead for everybody else:
|
# Use this one instead for everybody else:
|
||||||
shift
|
shift
|
||||||
print -nR $'\e]1;'$@$'\a'
|
print -nR $'\e]1;'$@$'\a'
|
||||||
|
|
Loading…
Add table
Reference in a new issue