Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Apr 2015 10:50:38 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>, Baptiste Daroussin <bapt@freebsd.org>
Cc:        pkg <pkg@freebsd.org>, ports@freebsd.org
Subject:   Re: Share your pkg aliases
Message-ID:  <79DCE8388D31F662B15D7B4A@atuin.in.mat.cc>
In-Reply-To: <CAG=rPVf-wJHVbB5ivL_GcK1ahz8cdFW1BNwfO6jfGfqhc0OFWg@mail.gmail.com>
References:  <20150402201909.GD30115@ivaldir.etoilebsd.net> <CAG=rPVf-wJHVbB5ivL_GcK1ahz8cdFW1BNwfO6jfGfqhc0OFWg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 3 avril 2015 12:47:31 -0700 Craig Rodrigues <rodrigc@FreeBSD.org>
wrote:
| On Thu, Apr 2, 2015 at 1:19 PM, Baptiste Daroussin <bapt@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.

It's picked up automatically when you install shells/bash-completion.

-- 
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79DCE8388D31F662B15D7B4A>