aboutsummaryrefslogtreecommitdiff
path: root/shell-completions/aur.fish
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-09-07 12:03:10 +0200
committerpml68 <contact@pml68.dev>2025-09-07 12:03:10 +0200
commitc70c80c789df88aa4ed079c7f8b6fcd4a23cb095 (patch)
treec3bc5cba5b744c0af99d331e7f3d5185cd501b39 /shell-completions/aur.fish
parentfeat: add Makefile (diff)
downloadaur-c70c80c789df88aa4ed079c7f8b6fcd4a23cb095.tar.gz
feat: add -r/--remove flags
Diffstat (limited to 'shell-completions/aur.fish')
-rw-r--r--shell-completions/aur.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completions/aur.fish b/shell-completions/aur.fish
index ae54b02..b66ebad 100644
--- a/shell-completions/aur.fish
+++ b/shell-completions/aur.fish
@@ -1,5 +1,5 @@
function _aur_no_switches
- not __fish_contains_opt -s h help -s v version -s l list -s f force -s g git -s c config
+ not __fish_contains_opt -s h help -s v version -s l list -s f force -s g git -s c config -s r remove
end
complete -c aur -f
@@ -9,4 +9,5 @@ complete -c aur -s v -l version
complete -c aur -s l -l list
complete -c aur -s f -l force
complete -c aur -s g -l git
+complete -c aur -s r -l remove -a "(pacman -Qqm)"
complete -c aur -s c -l config -F -r