1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 06:59:25 +00:00

Only call reset-prompt when the appropriate zstyle is set

Resolves issue #1524 (#1548)
This commit is contained in:
John P. Neumann
2018-02-20 22:36:29 -06:00
committed by Kaleb Elwert
parent e26387656d
commit 6d00fdf8c8
4 changed files with 11 additions and 11 deletions

View File

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