about summary refs log tree commit homepage
path: root/examples/zsh-completion/_dtas-msinkctl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/zsh-completion/_dtas-msinkctl')
-rw-r--r--examples/zsh-completion/_dtas-msinkctl8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/zsh-completion/_dtas-msinkctl b/examples/zsh-completion/_dtas-msinkctl
new file mode 100644
index 0000000..941c23b
--- /dev/null
+++ b/examples/zsh-completion/_dtas-msinkctl
@@ -0,0 +1,8 @@
+#compdef dtas-msinkctl
+
+# To the extent possible under law, James Rowe has waived all copyright and
+# related or neighboring rights to this example.
+
+_arguments \
+    "1:select action:(active{,-{set,add,sub}} nonblock)" \
+    "*:select sink:($(dtas-ctl sink ls 2> /dev/null))"