[Bash-completion-devel] [SCM] bash-completion branch, master, updated. 65d9348f3e5a31adf38ace19a3c1d4e6a302fe9e

David Paleino d.paleino at gmail.com
Sun May 24 08:53:51 UTC 2009


On Sun, 24 May 2009 11:07:40 +0300, Ville Skyttä wrote:

> On Sunday 24 May 2009, David Paleino wrote:
> 
> > $ grep BASH .bash*
> > .bashrc:export BASH_COMPLETION=/deb/git/bash-completion/bash_completion
> > .bashrc:export BASH_COMPLETION_DIR=/deb/git/bash-completion/contrib
> 
> Hmm, interesting, I should set up something like that for myself too.  But
> how does that work; do you have another line somewhere in your profile which 
> sources $BASH_COMPLETION that you set in the above?

Those variables are used by bash_completion itself (see at the very beginning
of the file).

There you go:

$ grep git/bash-completion ~/.bashrc
export BASH_COMPLETION=/deb/git/bash-completion/bash_completion
export BASH_COMPLETION_DIR=/deb/git/bash-completion/contrib
. /deb/git/bash-completion/bash_completion
$

(surely I could've done ". $BASH_COMPLETION")

This way, you're always using the latest git commit you have locally pulled.

Hope this helps,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090524/bb452dbf/attachment.pgp>


More information about the Bash-completion-devel mailing list