1
0
Fork 0
mirror of synced 2024-11-30 03:05:35 -05:00

Support dynamic title on urxvt

This commit is contained in:
Henrique Silva 2017-03-15 14:48:54 +01:00
parent 4b95df9a5f
commit cf7df9013a

View file

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