summaryrefslogtreecommitdiff
path: root/sh/upd
diff options
context:
space:
mode:
Diffstat (limited to 'sh/upd')
-rwxr-xr-xsh/upd3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/upd b/sh/upd
index ac78b6c..4804de9 100755
--- a/sh/upd
+++ b/sh/upd
@@ -107,6 +107,9 @@ clean () {
fi
paru -aSc --noconfirm
+
+ # https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)
+ pacman -Qdttq | sudo pacman -Rns --noconfirm -
}
# basic daily stuff