diff options
author | James Rowe <jnrowe@gmail.com> | 2019-11-06 06:52:26 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-11-09 09:05:24 +0000 |
commit | 8645836f09bd7d1060f124a18bab534ee4970dc0 (patch) | |
tree | a9577afa9ef99f11547cf6bd8ca40e679cd4027d /examples/zsh-completion/_dtas-sourceedit | |
parent | c9aaee89d02edd195c56b9bc1c2a9644d146f51a (diff) | |
download | dtas-8645836f09bd7d1060f124a18bab534ee4970dc0.tar.gz |
This adds completion support for all the current commands, including completion for sink and source names where they are used.
Diffstat (limited to 'examples/zsh-completion/_dtas-sourceedit')
-rw-r--r-- | examples/zsh-completion/_dtas-sourceedit | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/zsh-completion/_dtas-sourceedit b/examples/zsh-completion/_dtas-sourceedit new file mode 100644 index 0000000..56da661 --- /dev/null +++ b/examples/zsh-completion/_dtas-sourceedit @@ -0,0 +1,11 @@ +#compdef dtas-sourceedit + +# To the extent possible under law, James Rowe has waived all copyright and +# related or neighboring rights to this example. + +_arguments \ + "--no-watch[disable inotify support]" \ + "--dry-run[only print commands, do not run them]" \ + "--verbose[print out commands sent to change the source]" \ + "--help[display help message]" \ + ":select source:($(dtas-ctl source ls 2> /dev/null))" |