From 27d940901f1d6ba2986c3d94297c7b72507fdc72 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Fri, 10 Oct 2008 09:53:48 +0000 Subject: Quote expansion of prompt_opts in prompt() because zsh emulation is by necessity not enforced there. --- Functions/Prompts/promptinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Prompts') 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 } -- cgit 1.4.1