summaryrefslogtreecommitdiffstats
path: root/fish2024
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fish2024/functions/deb-pkgs-by-section=.fish4
1 files changed, 4 insertions, 0 deletions
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