From 28e5a06afeaedf99391b8c612db4d69598058205 Mon Sep 17 00:00:00 2001 From: alvinlollo <143326475+alvinlollo@users.noreply.github.com> Date: Fri, 13 Jun 2025 23:40:44 +1000 Subject: [PATCH] Debian support --- zsh.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)"