arch-scripts
Installation
SKILL.md
Package Manager Hierarchy
pm_detect(){
if has paru; then printf 'paru'; return; fi
if has yay; then printf 'yay'; return; fi
if has pacman; then printf 'pacman'; return; fi
printf ''
}
PKG_MGR=${PKG_MGR:-$(pm_detect)}
AUR Install Flags
$PKG_MGR -S --needed --noconfirm --removemake --cleanafter \
--sudoloop --skipreview --batchinstall "$pkg"