Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] rfc: zsh completions -- optional or mandatory?
Date: Fri, 27 Mar 2015 01:43:58
Message-Id: CAJ0EP43gpHCVozgL+zXcGDdxhRXtS92fe9_5758J+n6m5VA5vA@mail.gmail.com
In Reply to: Re: [gentoo-dev] rfc: zsh completions -- optional or mandatory? by Rich Freeman
1 On Thu, Mar 26, 2015 at 1:17 PM, Rich Freeman <rich0@g.o> wrote:
2 > On Thu, Mar 26, 2015 at 12:51 PM, William Hubbs <williamh@g.o> wrote:
3 >>
4 >> The other method is shown by dev-vcs/hub at least, and maybe several
5 >> other packages -- e.g. unconditionally installing the completions
6 >> according to our small files installation practice and not reflecting
7 >> the rdepend on app-shells/zsh.
8 >
9 > I'd go with this, since this is how we handle bash.
10
11 I think we should be consistent between bash and other shells here.
12 Either make both bash completion and zsh completion conditional on use
13 flags or make them both unconditional.
14
15 It makes sense to make exceptions for certain classes of small files
16 (init scripts versus shell completion), but not for specific
17 implementations of small files (bash versus zsh, openrc versus
18 systemd).