Use pacman cleanup hook instead of alias
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Alexander Schäferdiek 2022-08-26 20:55:31 +02:00
parent b0517cfa44
commit 82d43e9607

View file

@ -2,8 +2,9 @@
alias pkgfile-update="sudo pkgfile --update" alias pkgfile-update="sudo pkgfile --update"
alias pac="yay" alias pac="yay"
alias pkg-upgrade="yay && pacman-orphans && sudo paccache -rk 2 && sync" # recommended hooks: pacman-cleanup-hook
alias pkg-upgrade-full="yay -Syyu --devel && pacman-orphans && sudo paccache -rk 2 && sync" alias pkg-upgrade="yay && pacman-orphans && sync"
alias pkg-upgrade-full="yay -Syyu --devel && pacman-orphans && sync"
alias pacdiff-merge='sudo DIFFPROG=vimdiff DIFFSEARCHPATH="/boot /etc /usr" pacdiff' alias pacdiff-merge='sudo DIFFPROG=vimdiff DIFFSEARCHPATH="/boot /etc /usr" pacdiff'
alias font-cache-update='sudo fc-cache -vf' alias font-cache-update='sudo fc-cache -vf'
alias mkinitcpio-linux='sudo mkinitcpio -p linux' alias mkinitcpio-linux='sudo mkinitcpio -p linux'