aboutsummaryrefslogtreecommitdiff
path: root/shell-completions/aur.fish
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-09-03 18:42:44 +0200
committerpml68 <contact@pml68.dev>2025-09-03 20:00:18 +0200
commit82e1f3835335d143bbbf8cb0378ff36822ea9483 (patch)
tree8e55cab2cda1cc42df7c0a4c21392b2d6f4394bf /shell-completions/aur.fish
parentfix: only run `git diff` when _update has pulled changes (diff)
downloadaur-82e1f3835335d143bbbf8cb0378ff36822ea9483.tar.gz
feat: add -v/--version option
Diffstat (limited to '')
-rw-r--r--shell-completions/aur.fish (renamed from aur.fish)3
1 files changed, 2 insertions, 1 deletions
diff --git a/aur.fish b/shell-completions/aur.fish
index fea8e37..ae54b02 100644
--- a/aur.fish
+++ b/shell-completions/aur.fish
@@ -1,10 +1,11 @@
function _aur_no_switches
- not __fish_contains_opt -s h help -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
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