zshrc: add .zshcfg

This commit is contained in:
Cynthia Foxwell 2022-07-07 11:26:22 -06:00
parent a2d62950b0
commit 4dbe327803
1 changed files with 6 additions and 2 deletions

View File

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