Share your pkg aliases
Sergey V. Dyatko
sergey.dyatko at gmail.com
Mon Apr 6 06:36:17 UTC 2015
On Fri, 3 Apr 2015 20:15:29 -0700
Kevin Oberman <rkoberman at gmail.com> wrote:
> On Fri, Apr 3, 2015 at 12:47 PM, Craig Rodrigues <rodrigc at freebsd.org>
> wrote:
>
> > On Thu, Apr 2, 2015 at 1:19 PM, Baptiste Daroussin <bapt at freebsd.org>
> > wrote:
> >
> > > Hi,
> > >
> > > For pkg 1.5.0 we do plan to provide a default pkg.conf full of useful
> > > aliases,
> > > of course this is subjective, if you think you have added some useful
> > > aliases
> > > into your pkg.conf please share those so we can add them directly into
> > the
> > > next
> > > release.
> > >
> >
> > I notice that there is a /usr/local/etc/bash_completion.d/_pkg.bash file
> > which implements tab completion
> > for pkg commands. Is there a way to make this file get picked up
> > by default when ports-mgmt/pkg is installed,
> > instead of having to edit .bashrc?
> >
> > 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.
> >
> > --
> > Craig
> >
>
> And I keep meaning to write a tcsh completion script for pkg. Maybe I'll
> get to at least a basic one next week. I see that bash completion scripts
> are quite different, but I'll see if the _pkg.bash file can at least get me
> started. It does more than I'd probably get done in the first pass.
> --
> Kevin Oberman, Network Engineer, Retired
> E-mail: rkoberman at gmail.com
Long time ago I started to do that:
https://github.com/yoursbofh/pkgng-tcsh/blob/master/dot.cshrc_pkg
but ENOTIME and so on :) I would be very glad if someone will continue
--
wbr, tiger
More information about the freebsd-pkg
mailing list