diff --git a/.alias b/.alias index d597508..25a3d0c 100644 --- a/.alias +++ b/.alias @@ -46,6 +46,16 @@ if [ -e "/usr/bin/apt-get" ] ; then # Apt-based distros (Debian, Ubuntu, etc.) # alias pacfiles="$dpkg -L" #elif [ -e "/usr/bin/pacman" -a "/usr/bin/cower" ] ; then # alias XxX="echo 'pacman + cower'" +elif [ -e "/usr/bin/yay" ] ; then + yay="/usr/bin/yay" + sudoyay="sudo $yay" + alias S="$sudoyay -S" + alias Syy="$sudoyay -Syy" + alias Syu="$sudoyay -Syu" + alias Rns="$sudoyay -Rns" + alias Ss="$sudoyay -Ss" + alias Si="$sudoyay -Si" + alias Q="$sudoyay -Q" elif [ -e "/usr/bin/pacman" ] ; then # Arch Linux pacman="/usr/bin/pacman --color=auto" sudopacman="sudo $pacman --color=auto"