Compare commits

...

1 Commits

Author SHA1 Message Date
Robin-Charles GUIHENEUF
fce6915022 zsh: Add preexec hook to vulporuza theme 2020-09-06 11:57:06 +02:00

View File

@ -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