diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2008-10-10 09:53:48 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2008-10-10 09:53:48 +0000 |
commit | 27d940901f1d6ba2986c3d94297c7b72507fdc72 (patch) | |
tree | 769199ee7507c14b341bd2f7cd4534f848973122 /Functions | |
parent | e4ae98949c7a7902d3cc9dff5166f9460a49e77e (diff) | |
download | zsh-27d940901f1d6ba2986c3d94297c7b72507fdc72.tar.gz zsh-27d940901f1d6ba2986c3d94297c7b72507fdc72.tar.xz zsh-27d940901f1d6ba2986c3d94297c7b72507fdc72.zip |
Quote expansion of prompt_opts in prompt() because zsh emulation is by
necessity not enforced there.
Diffstat (limited to 'Functions')
-rw-r--r-- | Functions/Prompts/promptinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit index 8f964578e..a83414841 100644 --- a/Functions/Prompts/promptinit +++ b/Functions/Prompts/promptinit @@ -170,7 +170,7 @@ prompt () { set_prompt "$@" (( $#prompt_opts )) && - setopt noprompt{bang,cr,percent,subst} prompt${^prompt_opts[@]} + setopt noprompt{bang,cr,percent,subst} "prompt${^prompt_opts[@]}" true } |