Share your pkg aliases
bapt at freebsd.org
Sat Apr 4 19:05:34 UTC 2015
On Sat, Apr 04, 2015 at 12:00:55PM -0700, Craig Rodrigues wrote:
> On Sat, Apr 4, 2015 at 11:18 AM, Baptiste Daroussin <bapt at freebsd.org>
> > On Sat, Apr 04, 2015 at 11:05:10AM -0700, Craig Rodrigues wrote:
> > > On Sat, Apr 4, 2015 at 1:50 AM, Mathieu Arnold <mat at freebsd.org> wrote:
> > >
> > > > +--On 3 avril 2015 12:47:31 -0700 Craig Rodrigues|
> > > > | It's a minor thing, but tab completions are really nice for
> > usability.
> > > > | bash shell users can use this, but zsh also has a way to read bash
> > > > | completion scripts.
> > > >
> > > > It's picked up automatically when you install shells/bash-completion.
> > > >
> > > >
> > > Cool. shells/bash-completion *does* work with pkg.
> > > It would be cool if shells/bash-completion was automatically installed
> > > when the bash port is installed, so that the average user does not have
> > > to do any other setup, and things *just work* out of the box.
> > >
> > > It would also give the pkg developers incentive to keep the bash
> > completion
> > > updated and in sync as new pkg sub commands and command flags are
> > > added.
> > None of the pkg developpers are using bash or bash completion so ... we are
> That may be true, but I see that a few pkg committers use zsh.
> One thing that I can see that the pkg project could do is
> instead of having separate completion files for bash and zsh,
> only have one for bash. zsh can grok bash completions.
> That way you will only have one file to maintain, and zsh and bash users
> can test it and benefit from it.
> For example, right now, if I "pkg install tmux", if I use zsh as my shell,
> it groks the bash completions that come with the tmux port.
> I agree with you that it is unfortunate that bash completions is not
> part of bash itself. Maybe we can add a dependency to
> shells/bash if bash is installed, it installs the bash-completion port as
> It's a minor thing, but improves the out of the box user experience of the
As a maintainer of zsh, and heavy user of zsh I will never base any completion
for zsh on bash completion, for simple reasons I consider bash completion
hackish, and most of the time inefficient on zsh.
We are speaking of opensource software, if bash users want to see their
completion improved then they should just provide patches. I am a zsh guy and I
do not update zsh completion because of ENOTIME already so...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: not available
More information about the freebsd-ports