diff options
Diffstat (limited to 'Functions/Prompts')
-rw-r--r-- | Functions/Prompts/promptinit | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit index a83414841..fef01d372 100644 --- a/Functions/Prompts/promptinit +++ b/Functions/Prompts/promptinit @@ -6,9 +6,10 @@ ## Type `prompt -h' for help. ## +typeset -gaU prompt_themes +typeset -ga prompt_theme +typeset -g prompt_newline prompt_themes=() -typeset -gU prompt_themes -typeset -g prompt_theme >/dev/null promptinit () { emulate -L zsh @@ -168,7 +169,7 @@ prompt () { local prompt_opts set_prompt "$@" - + (( $#prompt_opts )) && setopt noprompt{bang,cr,percent,subst} "prompt${^prompt_opts[@]}" |