1
0
Fork 0
mirror of synced 2024-11-26 09:15:34 -05:00

[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:
Eric Nielsen 2017-10-01 20:35:47 -05:00
parent a4f6b757be
commit 8ba9621f48
5 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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