41 lines
616 B
Bash
Executable file
41 lines
616 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd &&
|
|
if ! type "yay" &> /dev/null; then
|
|
echo "Yay not found, installing..." &&
|
|
|
|
if test -d yay; then
|
|
rm -rf yay
|
|
fi &&
|
|
|
|
git clone https://aur.archlinux.org/yay.git &&
|
|
cd yay &&
|
|
makepkg -si --noconfirm &&
|
|
cd &&
|
|
rm -rf yay
|
|
else
|
|
echo -e "\nYay is already installed, skipping..."
|
|
fi &&
|
|
|
|
echo -e "\nInstalling dependencies..." &&
|
|
# Base/Shell
|
|
yay -S --needed --noconfirm \
|
|
\
|
|
`# Standard`\
|
|
rsync \
|
|
sl \
|
|
btop \
|
|
neovim \
|
|
byobu \
|
|
zsh \
|
|
lf \
|
|
nnn \
|
|
kitty \
|
|
kitty-terminfo \
|
|
\
|
|
`# Aur`\
|
|
stpv-git \
|
|
oh-my-zsh-git &&
|
|
|
|
echo "" &&
|
|
sudo chsh -s /bin/zsh $USER
|