diff --git a/zsh.sh b/zsh.sh index e508a1b..315cd07 100644 --- a/zsh.sh +++ b/zsh.sh @@ -11,8 +11,12 @@ echo ' --------------- ZSH Install Script --------------- ' +# Do not exit on fail +set +eux + # Install prerequisites sudo pacman -S zsh fzf --no-confirm +sudo apt zsh fzf -y # Just try if debian based # Do not print commands set +x @@ -24,8 +28,6 @@ echo ' # Print commands set -x -sudo pacman -S zsh fzf --no-confirm - # Installs Oh-My-Zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"