Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #594 from belak/fix-prompt-sp
Browse files Browse the repository at this point in the history
Add back the `prompt_sp` option for zsh >= 5.4.1
  • Loading branch information
bhilburn committed Aug 12, 2017
2 parents 50ecdfd + 99b7ec2 commit f8ba693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions powerlevel9k.zsh-theme
Expand Up @@ -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
Expand Down

0 comments on commit f8ba693

Please sign in to comment.