Share your pkg aliases

Henry Hu henry.hu.sh at gmail.com
Fri Apr 3 07:15:54 UTC 2015


On Fri, Apr 3, 2015 at 2:53 AM Baptiste Daroussin <bapt at freebsd.org> wrote:

> On Fri, Apr 03, 2015 at 06:36:52AM +0000, Henry Hu wrote:
> > On Thu, Apr 2, 2015 at 4: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 have two aliases:
> > alias: {
> >         "locked": "query -e '%k == 1' %n",
> >         "leaf": "query -e '%#r == 0' '%n auto: %a'",
> > }
> > The first one queries the locked packages, and the second one queries the
> > leaf packages.
>
> Thanks
>
> How is locked different from pkg lock -l ?
>

Basically the same... I'm not aware of pkg lock -l.

>
> Best regards,
> Bapt
>


More information about the freebsd-pkg mailing list