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

prompt: add sp option to prompt_setup functions

This was a change in zsh 5.4.1 where prompt_sp is now reset on calls to
prompt, unlike previous behavior where it was set by default. This
restores the previous default behavior.

Refs #1423, but is not a complete fix because we need to wait for
external prompts to update as well.
This commit is contained in:
Kaleb Elwert
2017-08-10 11:23:26 -07:00
parent 5e295b0835
commit 730fc4690e
12 changed files with 12 additions and 12 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=(percent sp subst)
# Add hook for calling git-info before each command.
add-zsh-hook precmd prompt_smiley_precmd