From 2fddb1c09e67fa7fff05e4b37709c996a478ae88 Mon Sep 17 00:00:00 2001 From: TheFlyingFool Date: Mon, 10 Jun 2024 18:20:37 -0500 Subject: [PATCH] Possibly have yay alias's set --- .alias | 10 ++++++++++ 1 file changed, 10 insertions(+) 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"