summaryrefslogtreecommitdiff
path: root/Completion/BSD/Command/_mixerctl
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-05-05 23:32:59 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-05-05 23:58:59 +0200
commitdb38e167634b6c2217eec3a5aafc37c46d9e5a8d (patch)
treedaa342d423febbd3a5a7ef97053037677fab004a /Completion/BSD/Command/_mixerctl
parent01eea47617a6e06debdb4330f92ae69f92089fd2 (diff)
parent3c3c8d3d13fd4cf6c03f81ca8dc18a1efd561728 (diff)
downloadzsh-db38e167634b6c2217eec3a5aafc37c46d9e5a8d.tar.gz
zsh-db38e167634b6c2217eec3a5aafc37c46d9e5a8d.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/BSD/Command/_mixerctl')
-rw-r--r--Completion/BSD/Command/_mixerctl11
1 files changed, 11 insertions, 0 deletions
diff --git a/Completion/BSD/Command/_mixerctl b/Completion/BSD/Command/_mixerctl
new file mode 100644
index 000000000..a43aed4cb
--- /dev/null
+++ b/Completion/BSD/Command/_mixerctl
@@ -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'