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/* && \