mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-29 16:27:30 +10:00
Ready to integrate into main script as separate script
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
clear
|
|
||||||
echo '
|
echo '
|
||||||
____ _ _ _ _ _
|
____ _ _ _ _ _
|
||||||
| __ ) _ _ __ _| |_ _(_)_ __ | | ___ | | | ___
|
| __ ) _ _ __ _| |_ _(_)_ __ | | ___ | | | ___
|
||||||
@@ -9,28 +8,28 @@ echo '
|
|||||||
|____/ \__ | \__ _|_| \_/ |_|_| |_|_|\___/|_|_|\___/
|
|____/ \__ | \__ _|_| \_/ |_|_| |_|_|\___/|_|_|\___/
|
||||||
|___/
|
|___/
|
||||||
|
|
||||||
--------------- Single Download script ---------------
|
--------------- ZSH Install Script ---------------
|
||||||
'
|
'
|
||||||
|
|
||||||
# Install prerequisites
|
# Install prerequisites
|
||||||
|
sudo pacman -S zsh fzf --no-confirm
|
||||||
|
|
||||||
|
# Do not print commands
|
||||||
|
set +x
|
||||||
echo '
|
echo '
|
||||||
|
|
||||||
--------------- Oh-My-zsh Install ---------------
|
--------------- Oh-My-zsh Install ---------------
|
||||||
|
|
||||||
Make sure to install zsh and fzf
|
|
||||||
|
|
||||||
'
|
'
|
||||||
# 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)"
|
||||||
|
|
||||||
# Fail on any command.
|
# Install Oh-My-Zsh plugins
|
||||||
set -eux pipefail
|
|
||||||
|
|
||||||
# Install plugins
|
|
||||||
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
git clone https://github.com/z-shell/zsh-eza ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-eza
|
git clone https://github.com/z-shell/zsh-eza ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-eza
|
||||||
|
|||||||
Reference in New Issue
Block a user