From d8967e8ac44c5c9e30b157602a2ad79d12e260f1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 23 Jan 2024 10:14:20 +0100 Subject: [PATCH] add paccache --- .config/fish/conf.d/alias.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/conf.d/alias.fish b/.config/fish/conf.d/alias.fish index 2143b13..a6455df 100644 --- a/.config/fish/conf.d/alias.fish +++ b/.config/fish/conf.d/alias.fish @@ -3,7 +3,7 @@ alias activate "source bin/activate.fish" alias gc "git clone" alias mirrors_update "curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 7 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy" -alias pacman-clean "sudo pacman -Rsn \$(pacman -Qqtd) --noconfirm" +alias pacman-clean "sudo pacman -Rsn \$(pacman -Qqtd) --noconfirm 2>/dev/null; paccache -rk1" alias untgz "tar xvzf" alias paru-rebuild "checkrebuild | awk '{print \$2}' | xargs -r paru -S --rebuild=all --noconfirm" alias ssh-fix "sudo chown $USER:$(id -gn) $HOME/.ssh/* && \