added support for tmux terminal types

This commit is contained in:
CallumHoward 2017-07-16 21:31:02 +10:00
parent d848c94804
commit 54502fb720

View File

@ -21,7 +21,7 @@ function title {
print -Pn "\e]2;$2:q\a" # set window name print -Pn "\e]2;$2:q\a" # set window name
print -Pn "\e]1;$1:q\a" # set tab name print -Pn "\e]1;$1:q\a" # set tab name
;; ;;
screen*) screen*|tmux*)
print -Pn "\ek$1:q\e\\" # set screen hardstatus print -Pn "\ek$1:q\e\\" # set screen hardstatus
;; ;;
*) *)