From 567cfd8bfee7b28d4eb36b1fec2100b20d17488c Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Wed, 8 Feb 2023 23:44:12 +0100 Subject: [PATCH] Fix setup-zsh bash syntax --- setup-zsh.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup-zsh.sh b/setup-zsh.sh index c7bf10b..38681c9 100755 --- a/setup-zsh.sh +++ b/setup-zsh.sh @@ -1,7 +1,6 @@ #!/bin/bash -if [ ! $HOME/.oh-my-zsh ] sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - -if [ ! $HOME/.zplug ] curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh +if [ ! $HOME/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"; fi +if [ ! $HOME/.zplug ]; then curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh; fi zplug install # Start zsh