diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2017-08-12 20:19:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-12 20:19:19 +0300 |
commit | f8ba6937b9b649602f78c89397ec8e6cdd2c0b23 (patch) | |
tree | f22e9142d477c954b62f7648731c20be1e7f8251 | |
parent | 50ecdfd57a7f88ff4e30a4dcc637ee83e3819006 (diff) | |
parent | 99b7ec26b24418329d0ab81f0c649037cc399254 (diff) |
Merge pull request #594 from belak/fix-prompt-sp
Add back the `prompt_sp` option for zsh >= 5.4.1
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 5bd5f586..b21e2ff4 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1341,11 +1341,11 @@ prompt_powerlevel9k_setup() { # returns. We need prompt_subst so we can safely run commands in the prompt # without them being double expanded and we need prompt_percent to expand the # common percent escape sequences. - prompt_opts=(subst percent cr) + prompt_opts=(cr percent sp subst) # Borrowed from promptinit, sets the prompt options in case the theme was # not initialized via promptinit. - setopt noprompt{bang,cr,percent,subst} "prompt${^prompt_opts[@]}" + setopt noprompt{bang,cr,percent,sp,subst} "prompt${^prompt_opts[@]}" # Display a warning if the terminal does not support 256 colors local term_colors |