d40b6cf928
While normally it's a good thing that zsh doesn't auto-expand on spaces, in this case we want to split on spaces into distinct words, that way the values are passed to `prompt` in multiple params. Fixes #178
8 linhas
185 B
Bash
8 linhas
185 B
Bash
#
|
|
# load user-defined prompt
|
|
#
|
|
|
|
if [[ ! ${TERM} == (linux|*bsd*|dumb) ]] && (( ${+zprompt_theme} )); then
|
|
autoload -Uz promptinit && promptinit
|
|
prompt ${(ps: :)${zprompt_theme}}
|
|
fi
|