From 3fed5bc4ebbbc4fea8519c0c2fa51f84938dd2f8 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 24 Mar 2022 18:01:22 -0600 Subject: [PATCH] zshrc: fix first run things --- common/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/.zshrc b/common/.zshrc index 4ed6232..8f9fabd 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -1,10 +1,10 @@ -if [[ -z "~/.zsh" ]]; then +if [[ ! -d "$HOME/.zsh" ]]; then mkdir -p ~/.zsh fi fpath=(~/.zsh $fpath) -if [[ -z "~/.zsh/gitstatus" ]]; then +if [[ ! -d "$HOME/.zsh/gitstatus" ]]; then git clone --depth=1 https://github.com/romkatv/gitstatus.git ~/.zsh/gitstatus fi source ~/.zsh/gitstatus/gitstatus.plugin.zsh