File: _mixerctl

package info (click to toggle)
zsh 5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,856 kB
  • sloc: ansic: 108,138; sh: 6,976; makefile: 722; perl: 687; awk: 291; sed: 16
file content (11 lines) | stat: -rw-r--r-- 577 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#compdef mixerctl

: ${(A)_cache_mixerctlvars:=${${(f)"$(mixerctl -a)"}%%=*}}
_arguments -s -S -A "-*" \
  '(-q -t *)-a[Print all device variables and their current values]' \
  '-f[Specify an alternative audio mixing device]:file:_files -g "*(-%c)"' \
  '(-q -t)-n[Suppress printing of the variable name]' \
  '(-a -n -v)-q[Suppress all printing when setting a variable]' \
  '(-a -n -v)-t[Attempt to select the next possible value of an enum]' \
  '(-q -t)-v[Show all possible values of variables]' \
  '(-a)*:mixerctl variable:_multi_parts -i -S = -q . _cache_mixerctlvars'