zsh-workers
 help / color / mirror / code / Atom feed
* Completion collision, best way to fix
@ 2012-09-28  9:33 Baptiste Daroussin
  2012-09-28 14:59 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Baptiste Daroussin @ 2012-09-28  9:33 UTC (permalink / raw)
  To: Zsh workers

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-09-30 20:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28  9:33 Completion collision, best way to fix Baptiste Daroussin
2012-09-28 14:59 ` Bart Schaefer
2012-09-29  1:12   ` Danek Duvall
2012-09-29  1:39     ` Baptiste Daroussin
2012-09-29  1:56       ` Danek Duvall
2012-09-29  3:40       ` Bart Schaefer
2012-09-30 20:47         ` Oliver Kiddle
2012-09-29  1:53     ` Phil Pennock

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).