diff options
| -rw-r--r-- | aur-completion.fish | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/aur-completion.fish b/aur-completion.fish new file mode 100644 index 0000000..fea8e37 --- /dev/null +++ b/aur-completion.fish @@ -0,0 +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 +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 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 |
