From cf7df9013a9a94447565300d66bdd10f096b758f Mon Sep 17 00:00:00 2001 From: Henrique Silva Date: Wed, 15 Mar 2017 14:48:54 +0100 Subject: [PATCH] Support dynamic title on urxvt --- modules/environment/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/environment/init.zsh b/modules/environment/init.zsh index 0e8fd9d..0e72937 100644 --- a/modules/environment/init.zsh +++ b/modules/environment/init.zsh @@ -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 ;;