mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 03:29:26 +00:00
Only call reset-prompt when the appropriate zstyle is set
Resolves issue #1524 (#1548)
This commit is contained in:
committed by
Kaleb Elwert
parent
e26387656d
commit
6d00fdf8c8
@ -36,7 +36,7 @@ function prompt_smiley_precmd {
|
||||
|
||||
function prompt_smiley_setup {
|
||||
unsetopt XTRACE KSH_ARRAYS
|
||||
prompt_opts=(percent subst)
|
||||
prompt_opts=(cr percent sp subst)
|
||||
|
||||
# Add hook for calling git-info before each command.
|
||||
add-zsh-hook precmd prompt_smiley_precmd
|
||||
|
Reference in New Issue
Block a user