zshrc: untested fresh install support

This commit is contained in:
Cynthia Foxwell 2022-03-22 22:40:21 -06:00
parent e7e4f79135
commit d596c467a5
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,12 @@
if [[ -z "~/.zsh" ]]; then
mkdir -p ~/.zsh
fi
fpath=(~/.zsh $fpath)
if [[ -z "~/.zsh/gitstatus" ]]; then
git clone --depth=1 https://github.com/romkatv/gitstatus.git ~/.zsh/gitstatus
fi
source ~/.zsh/gitstatus/gitstatus.plugin.zsh
# Lines configured by zsh-newuser-install