allow ability to select aur helper

This commit is contained in:
godalming123 2022-01-16 17:57:50 +00:00
parent d415a6d1e3
commit 0486623110
2 changed files with 36 additions and 4 deletions

View File

@ -18,10 +18,23 @@ Installing AUR Softwares
source $HOME/ArchTitus/setup.conf
cd ~
git clone "https://aur.archlinux.org/yay.git"
cd ~/yay
makepkg -si --noconfirm
cd ~
case $AURHELPER in
"1")
git clone "https://aur.archlinux.org/yay.git"
cd ~/yay
makepkg -si --noconfirm
cd ~ ;;
"2")
git clone "https://aur.archlinux.org/paru.git"
cd ~/paru
makepkg -si --noconfirm
cd ~ ;;
"3")
echo ""
echo "no aur helper selected"
echo ""
esac
touch "~/.cache/zshhistory"
git clone "https://github.com/ChrisTitusTech/zsh"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k

View File

@ -108,6 +108,17 @@ read -p "Your key boards layout:" keymap
set_option KEYMAP $keymap
}
aurHelper () {
echo -ne "
Pick your AUR helper:
1) yay
2) paru
3) none
"
read -p "AUR helper:" aurHelper
set_option AURHELPER $aurHelper
}
drivessd () {
echo -ne "
Is this an ssd? yes/no:
@ -158,15 +169,23 @@ set_option nameofmachine $nameofmachine
clear
logo
userinfo
clear
logo
aurHelper
clear
logo
diskpart
clear
logo
filesystem
clear
logo
timezone
clear
logo
keymap