fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Jason Nadermore dogfood30459b053

master
933 B14 linesraw
1set -l cmds 'scontrols scontents controls contents sget sset cset cget set get'
2complete -c amixer -xa "$cmds" -n "not __fish_seen_subcommand_from $cmds"
3complete -c amixer -n '__fish_seen_subcommand_from sset sget get set' -xa "(amixer scontrols | string split -f 2 \')"
4
5complete -c amixer -s h -l help -d 'this help'
6complete -c amixer -s c -l card -r -d 'select the card'
7complete -c amixer -s D -l device -r -d 'select the device, default \'default\''
8complete -c amixer -s d -l debug -d 'debug mode'
9complete -c amixer -s n -l nocheck -d 'do not perform range checking'
10complete -c amixer -s v -l version -d 'print version of this program'
11complete -c amixer -s q -l quiet -d 'be quiet'
12complete -c amixer -s i -l inactive -d 'show also inactive controls'
13complete -c amixer -s a -l abstract -d 'select abstraction level' -xa 'none basic'
14complete -c amixer -s s -l stdin -d 'Read and execute commands from stdin sequentially'