Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion collision, best way to fix
- X-seq: zsh-workers 30698
- From: Baptiste Daroussin <baptiste.daroussin@xxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Completion collision, best way to fix
- Date: Fri, 28 Sep 2012 11:33:48 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ChdtUD4GAtMdkdjEQ3Ym69gb0/7UKWqjU3VUaWt28J0=; b=C6x/LsqLn63WFPDs+o4fOvhOQcbjJykDFbnjswVz56h4+QzzhkggoVWXO3d1zpsZ3o 0vPEx06pMe3CvlatLEKvfca8hspzc4NSyrWfYZVhiw8Sl9qq2cv9U7YqBAa0hchsWsj9 RMWaoYEjN5NmgHfLI8d6c1iDzZZfn4kLaXggBvIn+erPMzTcC6nWgY3fUHFJOG8FB/gk KnmP+MRemJbGELxcy2iUbPiCQ17BHjZPSPQugVN3IyQQxPP+6cXDrmPcYCihpUZ2Fj0s KkrXzq/xIy+oSdvBx6WNJIPRLQf7fKyS1+U0ZfeqjORe5u9zsih2Z/8pg1rbVYnjfWc4 znGQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
I am working on a completion function for the freebsd new package
manager, actually it is working:
https://github.com/pkgng/pkgng/blob/master/scripts/zsh/_pkg
I want to add the completion function to the main zsh git but I face
the problems:
The right place for it would be Completion/BSD/Command, but if I put
it there it will hide the Completion/Solaris/Command/_pkg5 has they
both define #compdef pkg
Is there a nice way to deal with this situation?
Merging both functions into one and pushed into unix, and condition
the completion base on the OSTYPE?
or is there some kind of #compdef_only_on_solaris pkg
#compdef_only_on_freebsd pkg thing available ?
regards,
Bapt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author