1
0
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:
Kaleb Elwert
2018-04-06 11:33:02 -07:00
parent 1b441e7654
commit 054eb351f1
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=(cr percent sp subst)
prompt_opts=(percent subst)
# Add hook for calling git-info before each command.
add-zsh-hook precmd prompt_smiley_precmd