diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-28 04:36:36 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-28 04:36:36 +0000 |
commit | 9b57ebd8c15f351fa4b56067ddb57bc6a637d934 (patch) | |
tree | 6185f39c33bd1f6eedb31a452862826d96572108 | |
parent | 21d784c65d92572e6b8d23442a205cb3bf8d9198 (diff) |
Adds deb-packages-by-section= alias
Diffstat (limited to '')
-rw-r--r-- | fish2024/functions/deb-pkgs-by-section=.fish | 4 |
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 |