mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 04:39:26 +00:00
Revert "Only call reset-prompt when the appropriate zstyle is set"
This reverts commit 6d00fdf8c8
.
As unfortunate as it is, this workaround was a hack and doesn't take
into account prompts like spaceship which don't use $editor_info but
rely on $KEYMAP directly. We'll need to find a more consistent solution
to fix this.
This commit is contained in:
@ -36,7 +36,7 @@ function prompt_smiley_precmd {
|
||||
|
||||
function prompt_smiley_setup {
|
||||
unsetopt XTRACE KSH_ARRAYS
|
||||
prompt_opts=(cr percent sp subst)
|
||||
prompt_opts=(percent subst)
|
||||
|
||||
# Add hook for calling git-info before each command.
|
||||
add-zsh-hook precmd prompt_smiley_precmd
|
||||
|
Reference in New Issue
Block a user