Bump zshrc

This commit is contained in:
David Tomaschik
2025-03-15 13:55:51 -07:00
parent 2c26051817
commit d40eb6b0a7

View File

@@ -168,11 +168,17 @@ fi
# Load any local settings
if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi
# Set prompt based on local settings
if test -f "${HOME}/.zprompt" ; then
# separate interactive block based on .zshrc.local
if [[ $- == *i* ]] ; then
# Set prompt based on local settings
if test -f "${HOME}/.zprompt" ; then
THEME=${THEME:=$(cat "${HOME}/.zprompt")}
fi
if command -v starship >/dev/null 2>&1 ; then
fi
if command -v starship >/dev/null 2>&1 ; then
: ${THEME:=starship}
if [ "${THEME}" = "starship" ] ; then
eval "$(starship init zsh)"
fi
fi
prompt "${THEME:-matir}" >/dev/null 2>&1
fi
prompt "${THEME:-matir}" >/dev/null 2>&1