Fix setup-zsh bash syntax

This commit is contained in:
Sebastian Bugge 2023-02-08 23:44:12 +01:00
parent 6d7c86055c
commit 567cfd8bfe
No known key found for this signature in database
GPG key ID: 49D435DEDD6B2829

View file

@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
if [ ! $HOME/.oh-my-zsh ] sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 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
if [ ! $HOME/.zplug ] curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
zplug install zplug install
# Start zsh # Start zsh