1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 09:19: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

@ -107,7 +107,7 @@ function prompt_paradox_preexec {
function prompt_paradox_setup {
setopt LOCAL_OPTIONS
unsetopt XTRACE KSH_ARRAYS
prompt_opts=(cr percent subst)
prompt_opts=(cr percent sp subst)
# Load required functions.
autoload -Uz add-zsh-hook