Compare commits
1 Commits
3b1ee09014
...
71a24c9984
Author | SHA1 | Date | |
---|---|---|---|
71a24c9984 |
@ -43,3 +43,13 @@ 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
|
||||||
|
|
||||||
|
function theme_preexec {
|
||||||
|
print -nr $'\e]2;'"$USER@$(hostname) » $PWD » $2"$'\a'
|
||||||
|
}
|
||||||
|
add-zsh-hook preexec theme_preexec
|
||||||
|
|
||||||
|
function theme_precmd {
|
||||||
|
print -nr $'\e]2;'"$USER@$(hostname) » $PWD"$'\a'
|
||||||
|
}
|
||||||
|
add-zsh-hook precmd theme_precmd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user