From fd2d4f8bcfef886dfef61d5960bc0b362ab5ac58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 27 Apr 2024 16:25:17 +0200 Subject: [PATCH] Add pacman orphan remove script --- bin/pacman-remove-orphans | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 bin/pacman-remove-orphans diff --git a/bin/pacman-remove-orphans b/bin/pacman-remove-orphans new file mode 100755 index 0000000..b9182b7 --- /dev/null +++ b/bin/pacman-remove-orphans @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +pacman -Qtdq | xargs --no-run-if-empty sudo pacman -Rns