aboutsummaryrefslogtreecommitdiff
path: root/aur.fish
blob: fea8e377714514bf283f7215a1681b29dee6c2c6 (plain)
1
2
3
4
5
6
7
8
9
10
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