mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
Bump zshrc
This commit is contained in:
@@ -168,11 +168,17 @@ fi
|
|||||||
# Load any local settings
|
# Load any local settings
|
||||||
if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi
|
if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi
|
||||||
|
|
||||||
# Set prompt based on local settings
|
# separate interactive block based on .zshrc.local
|
||||||
if test -f "${HOME}/.zprompt" ; then
|
if [[ $- == *i* ]] ; then
|
||||||
THEME=${THEME:=$(cat "${HOME}/.zprompt")}
|
# 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
|
fi
|
||||||
if command -v starship >/dev/null 2>&1 ; then
|
|
||||||
: ${THEME:=starship}
|
|
||||||
fi
|
|
||||||
prompt "${THEME:-matir}" >/dev/null 2>&1
|
|
||||||
|
|||||||
Reference in New Issue
Block a user