Possibly have yay alias's set

This commit is contained in:
TheFlyingFool 2024-06-10 18:20:37 -05:00
parent a5491ea108
commit 2fddb1c09e

10
.alias
View File

@ -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"