mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-07-04 00:08:25 +10:00
Debian support
This commit is contained in:
@@ -11,8 +11,12 @@ echo '
|
|||||||
--------------- ZSH Install Script ---------------
|
--------------- ZSH Install Script ---------------
|
||||||
'
|
'
|
||||||
|
|
||||||
|
# Do not exit on fail
|
||||||
|
set +eux
|
||||||
|
|
||||||
# Install prerequisites
|
# Install prerequisites
|
||||||
sudo pacman -S zsh fzf --no-confirm
|
sudo pacman -S zsh fzf --no-confirm
|
||||||
|
sudo apt zsh fzf -y # Just try if debian based
|
||||||
|
|
||||||
# Do not print commands
|
# Do not print commands
|
||||||
set +x
|
set +x
|
||||||
@@ -24,8 +28,6 @@ echo '
|
|||||||
# Print commands
|
# Print commands
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
sudo pacman -S zsh fzf --no-confirm
|
|
||||||
|
|
||||||
# Installs Oh-My-Zsh
|
# Installs Oh-My-Zsh
|
||||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user