From 82e1f3835335d143bbbf8cb0378ff36822ea9483 Mon Sep 17 00:00:00 2001 From: pml68 Date: Wed, 3 Sep 2025 18:42:44 +0200 Subject: feat: add -v/--version option --- shell-completions/aur.fish | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shell-completions/aur.fish (limited to 'shell-completions/aur.fish') diff --git a/shell-completions/aur.fish b/shell-completions/aur.fish new file mode 100644 index 0000000..ae54b02 --- /dev/null +++ b/shell-completions/aur.fish @@ -0,0 +1,12 @@ +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 +end + +complete -c aur -f +complete -c aur -n "_aur_no_switches" -a "(basename -a ~/.aur/*/)" +complete -c aur -s h -l help +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 c -l config -F -r -- cgit v1.2.3