d13614e3bb
The old test, [[ ${var} ]] tests for unset AND zero-length strings. Checking for zero length strings probably isn't that important. It is enough to ensure that the variable is set. Closes #18
9 lines
175 B
Bash
9 lines
175 B
Bash
#
|
|
# load user-defined prompt
|
|
#
|
|
|
|
if [[ ! ${TERM} == (linux|*bsd*|dumb) ]] && (( ${+zprompt_theme} )); then
|
|
autoload -Uz promptinit && promptinit
|
|
prompt ${zprompt_theme}
|
|
fi
|