From 4dbe32780308d336fc30bcf235bfbe6c8475d751 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 7 Jul 2022 11:26:22 -0600 Subject: [PATCH] zshrc: add .zshcfg --- common/.zshrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/.zshrc b/common/.zshrc index 8236758..6b678ee 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -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