Use chroot for checkaurupdates

This commit is contained in:
Eric Torres 2023-02-28 18:12:30 -08:00
parent 2a614621ce
commit 1fe0dbeb11

View File

@ -29,7 +29,7 @@ alias gr='git reset'
# Arch Linux # Arch Linux
alias aurget='aur sync -d aur' alias aurget='aur sync -d aur'
alias -g autoremove='pacman -Rns $(pacman -Qtdq)' alias -g autoremove='pacman -Rns $(pacman -Qtdq)'
alias checkaurupdates='aur sync -d aur --upgrades' alias checkaurupdates='aur sync -d aur --upgrades --chroot'
# alias does not work correctly for some reason # alias does not work correctly for some reason
alias lspkg="pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -h" alias lspkg="pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -h"
alias ql='pacman -Qql' alias ql='pacman -Qql'