Support dynamic title on urxvt
This commit is contained in:
parent
4b95df9a5f
commit
cf7df9013a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue