mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-15 03:04:26 +10:00
Debian support
This commit is contained in:
@@ -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)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user