diff --git a/vulporuza.zsh-theme b/vulporuza.zsh-theme index 248d935..baccc89 100644 --- a/vulporuza.zsh-theme +++ b/vulporuza.zsh-theme @@ -43,3 +43,8 @@ else ZSH_THEME_GIT_PROMPT_REBASE="%{$fg_bold[magenta]%}|REBASE%{${reset_color}%} " ZSH_THEME_GIT_PROMPT_BISECT="%{$fg_bold[magenta]%}|BISECT%{${reset_color}%} " fi + +theme_preexec () { + print -nr $'\e]2;'"$(hostname) ยป $2"$'\a' +} +add-zsh-hook preexec theme_preexec