2014-12-02 21:07:00 +05:00
|
|
|
# Load user desired prompt.
|
|
|
|
|
|
|
|
autoload -Uz promptinit
|
|
|
|
promptinit
|
|
|
|
|
|
|
|
if [ "${PROMPT_THEME}" != "" ]; then
|
2015-03-01 09:57:58 +05:00
|
|
|
if [ -f ${CONFIG_PATH}/zsh/prompts/${PROMPT_THEME}.zsh ]; then
|
|
|
|
source ${CONFIG_PATH}/zsh/prompts/${PROMPT_THEME}.zsh
|
2014-12-02 21:07:00 +05:00
|
|
|
else
|
|
|
|
echo "Theme \"${PROMPT_THEME}\" could not be loaded. File does not exist or unreadable."
|
|
|
|
fi
|
|
|
|
fi
|