From 9b57ebd8c15f351fa4b56067ddb57bc6a637d934 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 28 Feb 2024 04:36:36 +0000 Subject: Adds deb-packages-by-section= alias --- fish2024/functions/deb-pkgs-by-section=.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 fish2024/functions/deb-pkgs-by-section=.fish diff --git a/fish2024/functions/deb-pkgs-by-section=.fish b/fish2024/functions/deb-pkgs-by-section=.fish new file mode 100644 index 0000000..bdb76a2 --- /dev/null +++ b/fish2024/functions/deb-pkgs-by-section=.fish @@ -0,0 +1,4 @@ +function deb-pkgs-by-section= --wraps=dpkg-query\ -W\ -f=\'\$\{Section\}\\t\$\{Package\}\\n\' --description alias\ deb-pkgs-by-section=\ dpkg-query\ -W\ -f=\'\$\{Section\}\\t\$\{Package\}\\n\' + dpkg-query -W -f='${Section}\t${Package}\n' $argv + +end -- cgit v1.2.3