zsh: Add preexec hook to vulporuza theme
This commit is contained in:
parent
3672521d8c
commit
fce6915022
@ -43,3 +43,8 @@ else
|
|||||||
ZSH_THEME_GIT_PROMPT_REBASE="%{$fg_bold[magenta]%}|REBASE%{${reset_color}%} "
|
ZSH_THEME_GIT_PROMPT_REBASE="%{$fg_bold[magenta]%}|REBASE%{${reset_color}%} "
|
||||||
ZSH_THEME_GIT_PROMPT_BISECT="%{$fg_bold[magenta]%}|BISECT%{${reset_color}%} "
|
ZSH_THEME_GIT_PROMPT_BISECT="%{$fg_bold[magenta]%}|BISECT%{${reset_color}%} "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
theme_preexec () {
|
||||||
|
print -nr $'\e]2;'"$(hostname) » $2"$'\a'
|
||||||
|
}
|
||||||
|
add-zsh-hook preexec theme_preexec
|
||||||
|
Loading…
x
Reference in New Issue
Block a user