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
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"
alias S="$yay -S"
alias Syy="$yay -Syy"
alias Syu="$yay -Syu"
alias Rns="$yay -Rns"
alias Ss="$yay -Ss"
alias Si="$yay -Si"
alias Q="$yay -Q"
elif [ -e "/usr/bin/pacman" ] ; then # Arch Linux
pacman="/usr/bin/pacman --color=auto"
sudopacman="sudo $pacman --color=auto"