|
|
@ -10,9 +10,9 @@ autoload -Uz promptinit && promptinit |
|
|
|
|
|
|
|
|
|
|
|
# Load the prompt theme. |
|
|
|
# Load the prompt theme. |
|
|
|
zstyle -a ':prezto:module:prompt' theme 'prompt_argv' |
|
|
|
zstyle -a ':prezto:module:prompt' theme 'prompt_argv' |
|
|
|
if (( $#prompt_argv > 0 )); then |
|
|
|
if [[ "$TERM" == (dumb|linux|*bsd*) ]] || (( $#prompt_argv < 1 )); then |
|
|
|
prompt "$prompt_argv[@]" |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
prompt 'off' |
|
|
|
prompt 'off' |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
prompt "$prompt_argv[@]" |
|
|
|
fi |
|
|
|
fi |
|
|
|
unset prompt_argv |
|
|
|
unset prompt_argv |
|
|
|