From 90d433b358763069c4ca912002c7963481e4f9bf Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Mon, 2 Mar 2015 23:33:08 -0600 Subject: 34637: New mixerctl completion for BSD --- Completion/BSD/Command/_mixerctl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Completion/BSD/Command/_mixerctl (limited to 'Completion') 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' -- cgit 1.4.1