about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
 }