diff options
| author | pml68 <contact@pml68.dev> | 2024-12-22 00:12:51 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2024-12-22 00:12:51 +0100 |
| commit | 8da66452eb3f0a08dd781b719872dd5b1aba1fda (patch) | |
| tree | 876c2b547a14d02f3c165bb4b48c10f32d628878 /aur.fish | |
| parent | feat: add fish completion script (diff) | |
| download | aur-8da66452eb3f0a08dd781b719872dd5b1aba1fda.tar.gz | |
docs: add fish completion directions to README
Diffstat (limited to 'aur.fish')
| -rw-r--r-- | aur.fish | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/aur.fish b/aur.fish new file mode 100644 index 0000000..fea8e37 --- /dev/null +++ b/aur.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 |
