[Pkg-zsh-devel] Bug#697247: zsh: completion for dput doesn't work with dput-ng

Sebastian Ramacher sramacher at debian.org
Wed Jan 30 23:18:52 UTC 2013


Control: tags -1 patch

On 2013-01-03 01:43:15, Sebastian Ramacher wrote:
> dput-ng's dput currently doesn't support -H. Hence the completoin for dput
> shipped in zsh doesn't work anymore if dput-ng is installed. It calls dput -H to
> get the list of available hosts.

Please find attached a patch that makes the dput completion work with both dput
and dput-ng. It calls 'dirt hosts' instead of 'dput -H' if dirt is detected.
Additionally, options that are not supported in both versions are only listed
for the correct version.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _dput.diff
Type: text/x-diff
Size: 3324 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20130131/37bb2492/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20130131/37bb2492/attachment-0001.pgp>


More information about the Pkg-zsh-devel mailing list