diff --git a/common/.zshrc b/common/.zshrc index 53a07ec..a1bd437 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -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