From 82d43e9607c958728c2c89d73b94538aacc7f9c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Fri, 26 Aug 2022 20:55:31 +0200 Subject: [PATCH] Use pacman cleanup hook instead of alias --- etc/skel/.zsh_archlinux | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/skel/.zsh_archlinux b/etc/skel/.zsh_archlinux index f6dc59f..c5058a1 100644 --- a/etc/skel/.zsh_archlinux +++ b/etc/skel/.zsh_archlinux @@ -2,8 +2,9 @@ alias pkgfile-update="sudo pkgfile --update" alias pac="yay" -alias pkg-upgrade="yay && pacman-orphans && sudo paccache -rk 2 && sync" -alias pkg-upgrade-full="yay -Syyu --devel && pacman-orphans && sudo paccache -rk 2 && sync" +# recommended hooks: pacman-cleanup-hook +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 font-cache-update='sudo fc-cache -vf' alias mkinitcpio-linux='sudo mkinitcpio -p linux'