[prompt] Add sp to the prompt_opts array
in our custom themes.
With zsh starting at version 5.4, when using the `prompt_opts` array,
`nopromptsp` will be set unless the array contains a `sp`. This was
introduced in zsh at
43e55a9bcd (diff-bb10d67e7a8561b66a53a805f3c77a40R233)
Fixes #209
This commit is contained in:
parent
a4f6b757be
commit
8ba9621f48
5 changed files with 5 additions and 5 deletions
|
@ -89,7 +89,7 @@ prompt_eriner_setup() {
|
|||
autoload -Uz colors && colors
|
||||
autoload -Uz add-zsh-hook
|
||||
|
||||
prompt_opts=(cr percent subst)
|
||||
prompt_opts=(cr percent sp subst)
|
||||
|
||||
add-zsh-hook precmd prompt_eriner_precmd
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ prompt_gitster_setup() {
|
|||
autoload -Uz colors && colors
|
||||
autoload -Uz add-zsh-hook
|
||||
|
||||
prompt_opts=(cr percent subst)
|
||||
prompt_opts=(cr percent sp subst)
|
||||
|
||||
add-zsh-hook precmd prompt_gitster_precmd
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ prompt_magicmace_setup() {
|
|||
autoload -Uz colors && colors
|
||||
autoload -Uz add-zsh-hook
|
||||
|
||||
prompt_opts=(cr percent subst)
|
||||
prompt_opts=(cr percent sp subst)
|
||||
|
||||
add-zsh-hook precmd prompt_magicmace_precmd
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ prompt_minimal_setup() {
|
|||
autoload -Uz colors && colors
|
||||
autoload -Uz add-zsh-hook
|
||||
|
||||
prompt_opts=(cr percent subst)
|
||||
prompt_opts=(cr percent sp subst)
|
||||
|
||||
add-zsh-hook precmd prompt_minimal_precmd
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ prompt_steeef_setup() {
|
|||
autoload -Uz add-zsh-hook
|
||||
autoload -Uz colors && colors
|
||||
|
||||
prompt_opts=(cr percent subst)
|
||||
prompt_opts=(cr percent sp subst)
|
||||
|
||||
add-zsh-hook precmd prompt_steeef_precmd
|
||||
|
||||
|
|
Loading…
Reference in a new issue