1
0
Fork 0

Fix error if user does not set a prompt theme

pull/22/head
gwjo 13 years ago
parent 02e39eaf4f
commit defc99f1ba

@ -88,6 +88,7 @@ autoload -Uz promptinit && promptinit
# Load the prompt theme.
zstyle -a ':omz:prompt' theme 'prompt_argv'
[[ ${#prompt_argv} == 0 ]] && prompt_argv=("off")
prompt "$prompt_argv[@]"
unset prompt_argv

Loading…
Cancel
Save