mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Bump zshrc
This commit is contained in:
@@ -168,11 +168,17 @@ fi
|
||||
# Load any local settings
|
||||
if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi
|
||||
|
||||
# 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
|
||||
: ${THEME:=starship}
|
||||
if [ "${THEME}" = "starship" ] ; then
|
||||
eval "$(starship init zsh)"
|
||||
fi
|
||||
fi
|
||||
prompt "${THEME:-matir}" >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user