diff --git a/scripts/includes/archlinux.sh b/scripts/includes/archlinux.sh index 4128177..3e2f20b 100644 --- a/scripts/includes/archlinux.sh +++ b/scripts/includes/archlinux.sh @@ -36,4 +36,13 @@ if [ -f "/etc/arch-release" ]; then fi unset __conda_setup } + + # Remove orphan packages + alias autoremove='yay -c' + + # Free up cache + clean-cache() { + yay -Sc --noconfirm + sudo pacman -Sc --noconfirm + } fi \ No newline at end of file