R. David Murray <rdmur...@bitdance.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4256>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to