diff --git a/shell/zsh/install b/shell/zsh/install index 56e59661..a1c4e132 100755 --- a/shell/zsh/install +++ b/shell/zsh/install @@ -11,9 +11,9 @@ if [[ "$SHELL" != *zsh ]]; then fi ;; linux*) - if [ -f /etc/arch-release ]; then + if [[ -f /etc/arch-release ]]; then sudo pacman --needed --noconfirm -S zsh - elif [ -f /etc/debian_version ]; then + elif [[ -f /etc/debian_version ]]; then sudo apt-get install -y zsh fi ;;