Doors/.scripts/doors/install_min_arch

40 lines
524 B
Text
Raw Normal View History

2023-02-03 04:08:44 -05:00
#!/bin/bash
2023-02-04 06:31:22 -05:00
cd
2023-02-06 01:36:30 -05:00
if [ -x $(command -v yay) ]; then
$USER_HAS_YAY = true
else
$USER_HAS_YAY = false
2023-02-04 06:31:22 -05:00
fi
2023-02-06 01:36:30 -05:00
if [ "$USER_HAS_YAY" = false ]; then
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
fi
2023-02-03 04:08:44 -05:00
# Base/Shell
yay -S --needed --noconfirm \
\
`# Standard`\
rsync \
2023-02-04 06:19:02 -05:00
sl \
2023-02-03 04:08:44 -05:00
btop \
neovim \
byobu \
zsh \
nnn \
\
`# Aur`\
nvim-packer-git \
2023-02-03 04:26:50 -05:00
oh-my-zsh-git &&
2023-02-03 04:08:44 -05:00
2023-02-03 04:37:44 -05:00
sudo chsh -s /bin/zsh $USER