zshrc: add .zshcfg

This commit is contained in:
Cynthia Foxwell 2022-07-07 11:26:22 -06:00
parent a2d62950b0
commit 4dbe327803

View file

@ -4,8 +4,12 @@ fi
fpath=(~/.zsh $fpath) fpath=(~/.zsh $fpath)
CONF_BINARYCLOCK=1 if [[ -f "$HOME/.zshcfg" ]]; then
CONF_ENABLEGIT=1 source ~/.zshcfg
else
CONF_BINARYCLOCK=0
CONF_ENABLEGIT=0
fi
if [[ $CONF_ENABLEGIT -eq 1 ]]; then if [[ $CONF_ENABLEGIT -eq 1 ]]; then
if [[ ! -d "$HOME/.zsh/gitstatus" ]]; then if [[ ! -d "$HOME/.zsh/gitstatus" ]]; then