mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 22:32:12 +02:00
34637: New mixerctl completion for BSD
This commit is contained in:
parent
4edcacbcf3
commit
90d433b358
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-03-03 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Matthew Martin: 34637: Completion/BSD/Command/_mixerctl:
|
||||
new completion.
|
||||
|
||||
2015-02-28 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* users/19934: Doc/Zsh/params.yo: document %D{...} for WATCHFMT
|
||||
|
|
11
Completion/BSD/Command/_mixerctl
Normal file
11
Completion/BSD/Command/_mixerctl
Normal file
|
@ -0,0 +1,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 varible:_multi_parts -i -S = -q . _cache_mixerctlvars'
|
Loading…
Reference in a new issue