Share your pkg aliases

Baptiste Daroussin bapt at freebsd.org
Fri Apr 3 06:53:29 UTC 2015


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 ?

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20150403/4655dad3/attachment.sig>


More information about the freebsd-pkg mailing list