about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2008-10-10 09:53:48 +0000
committerBart Schaefer <barts@users.sourceforge.net>2008-10-10 09:53:48 +0000
commit27d940901f1d6ba2986c3d94297c7b72507fdc72 (patch)
tree769199ee7507c14b341bd2f7cd4534f848973122 /Functions
parente4ae98949c7a7902d3cc9dff5166f9460a49e77e (diff)
downloadzsh-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/promptinit2
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
 }