dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zsh completion for dtas-ctl


From: James Rowe
Subject: zsh completion for dtas-ctl
Date: Sun, 3 Nov 2019 00:35:51 +0000
User-agent: NeoMutt/20180716

Hi,

  Thanks to rb_optparse.zsh¹ completion is available for many of the
dtas commands, however this isn't the case for dtas-ctl as its interface
isn't built on optparse.

  Attached is the first cut of a zsh completion script for dtas-ctl.  It
doesn't include all the features, and it really isn't as smart as it
should be.  It does Work For Me™.  I've pasted the CC0 header on to it
should you wish to add it to the examples/ directory.

  The obvious improvements are that it should be automatically
generated, probably from the player protocol manpage or some such.

Thanks,

James

1. https://github.com/ruby/ruby/blob/master/misc/rb_optparse.zsh

-- 

☒ Vote to destroy email signatures today!

Attachment: _dtas-ctl
Description: Text document

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]