yay said don't run as sudo, alias's updated per that

This commit is contained in:
TheFlyingFool 2024-06-10 19:30:42 -05:00
parent cc038afaf4
commit cee31b67a0

14
.alias
View File

@ -49,13 +49,13 @@ if [ -e "/usr/bin/apt-get" ] ; then # Apt-based distros (Debian, Ubuntu, etc.)
elif [ -e "/usr/bin/yay" ] ; then elif [ -e "/usr/bin/yay" ] ; then
yay="/usr/bin/yay" yay="/usr/bin/yay"
sudoyay="sudo $yay" sudoyay="sudo $yay"
alias S="$sudoyay -S" alias S="$yay -S"
alias Syy="$sudoyay -Syy" alias Syy="$yay -Syy"
alias Syu="$sudoyay -Syu" alias Syu="$yay -Syu"
alias Rns="$sudoyay -Rns" alias Rns="$yay -Rns"
alias Ss="$sudoyay -Ss" alias Ss="$yay -Ss"
alias Si="$sudoyay -Si" alias Si="$yay -Si"
alias Q="$sudoyay -Q" alias Q="$yay -Q"
elif [ -e "/usr/bin/pacman" ] ; then # Arch Linux elif [ -e "/usr/bin/pacman" ] ; then # Arch Linux
pacman="/usr/bin/pacman --color=auto" pacman="/usr/bin/pacman --color=auto"
sudopacman="sudo $pacman --color=auto" sudopacman="sudo $pacman --color=auto"