zshrc: add .zshcfg
This commit is contained in:
parent
a2d62950b0
commit
4dbe327803
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue