From b9c048b80ec0fa5842f6a4c6cb4345ba39eb5217 Mon Sep 17 00:00:00 2001 From: Kaan Genc Date: Wed, 9 Mar 2022 20:59:48 -0500 Subject: [PATCH] pacman remove orphans function --- fish/functions/pacman-remove-orphans.fish | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 fish/functions/pacman-remove-orphans.fish diff --git a/fish/functions/pacman-remove-orphans.fish b/fish/functions/pacman-remove-orphans.fish new file mode 100644 index 0000000..4b9344b --- /dev/null +++ b/fish/functions/pacman-remove-orphans.fish @@ -0,0 +1,3 @@ +function pacman-remove-orphans --wraps='acman -Qtdq | pacman -Rns -' --wraps='pacman -Qtdq | pacman -Rns -' --wraps='pacman -Qtdq | sudo pacman -Rns -' --description 'alias pacman-remove-orphans pacman -Qtdq | sudo pacman -Rns -' + pacman -Qtdq | sudo pacman -Rns - $argv; +end