zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh workers <zsh-workers@zsh.org>
Subject: Re: Completion collision, best way to fix
Date: Fri, 28 Sep 2012 20:40:23 -0700	[thread overview]
Message-ID: <120928204023.ZM28534@torch.brasslantern.com> (raw)
In-Reply-To: <CAPKC6oL22t6+MxtQcpTOVd8aB-dxgvm8vzpCq+TUAGPFgZt4MA@mail.gmail.com>

On Sep 29,  3:39am, Baptiste Daroussin wrote:
}
} What we could do is to provide a Unix/_pkg
} Which will do the #compdef pkg and call _pkg5 on Solaris and _pkgng on
} FreeBSD?

If you're going to do that, the correct way is to use _pick_variant
(Completion/Base/Utility/_pick_variant) to decide which flavor of "pkg"
you have.  That way people can use zstyle to control the choice.

} While you are here will you accept FreeBSD specific completion for
} _zfs ? :D like the jail/unjail subcommand

Have to wait for PWS to chime in, but generally speaking you can just
send it to zsh-workers for review ... of all the reasons it might be
rejected, being FreeBSD-specific is pretty far down the list.


  parent reply	other threads:[~2012-09-29  3:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28  9:33 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 [this message]
2012-09-30 20:47         ` Oliver Kiddle
2012-09-29  1:53     ` Phil Pennock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=120928204023.ZM28534@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).