1
0
Fork 0
mirror of synced 2024-05-26 03:51:13 -04:00

Support dynamic title on urxvt

Closes #151
This commit is contained in:
Henrique Silva 2017-03-15 14:48:54 +01:00 committed by Matt Hamilton
parent dca1803ced
commit d97ff6bd07

View file

@ -51,7 +51,7 @@ fi
# more work probably needs to be done here to support multiplexers # more work probably needs to be done here to support multiplexers
if (($+ztermtitle)); then if (($+ztermtitle)); then
case ${TERM} in case ${TERM} in
xterm*) xterm*|*rxvt)
precmd() { print -Pn "\e]0;${ztermtitle}\a" } precmd() { print -Pn "\e]0;${ztermtitle}\a" }
precmd # we execute it once to initialize the window title precmd # we execute it once to initialize the window title
;; ;;