From a841d57ab7a45b6beccd83bbd8ffc7b019229a47 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Tue, 1 Oct 2024 00:22:44 -0400 Subject: [PATCH] check for ohmyzsh --- .install/install-oh-my-zsh.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.install/install-oh-my-zsh.sh b/.install/install-oh-my-zsh.sh index 2ae8c77..094c48d 100755 --- a/.install/install-oh-my-zsh.sh +++ b/.install/install-oh-my-zsh.sh @@ -1,2 +1,3 @@ -sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended --keep-zshrc - +if [ ! -d ~/ohmyzsh ]; then + sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended --keep-zshrc +fi