This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients andybuckley, bethard, eric.araujo, gruszczy, r.david.murray, wplappert
Date 2010-05-10.15:08:32
SpamBayes Score 0.0006327528
Marked as misclassified No
Message-id <1273504114.71.0.0236531706199.issue4256@psf.upfronthosting.co.za>
In-reply-to
Content
zsh's completion system is completely programmable.  I looks like it would be pretty easy to add generic 'python script' support widgets(*) using this hidden option, and probably other neat tricks as well.  Something that would make it even more useful for zsh completion would be to include information on the type of the argument when known.  A zsh completer could then be programmed to do smart completion on the option value as well.

(*) You can write a 'widget' and assign it to a key, and then when you use that key the completion widget (shell function) is called and could run the command with the hidden option to get the option info and generate the completion list.  That's just the *easiest* way to integrate support for this into zsh completion.
History
Date User Action Args
2010-05-10 15:08:35r.david.murraysetrecipients: + r.david.murray, bethard, eric.araujo, wplappert, andybuckley, gruszczy
2010-05-10 15:08:34r.david.murraysetmessageid: <1273504114.71.0.0236531706199.issue4256@psf.upfronthosting.co.za>
2010-05-10 15:08:33r.david.murraylinkissue4256 messages
2010-05-10 15:08:32r.david.murraycreate