Gentoo Archives: gentoo-user

From: gottlieb@×××.edu
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: bash-completion change?
Date: Fri, 26 Jul 2013 19:14:20
Message-Id: 87txjhw2vh.fsf@nyu.edu
In Reply to: [gentoo-user] Re: bash-completion change? by Nikos Chantziaras
1 On Fri, Jul 26 2013, Nikos Chantziaras wrote:
2
3 > On 24/07/13 15:06, Douglas J Hunley wrote:
4 >> As of bash-completion-2.1-r1 it appears the eselect module is gone and
5 >> the use of /etc/bash-completion.d is dead. Does this mean that all
6 >> completions are enabled globally by default now? It used to be that you
7 >> could turn each individual one on/off either globally or per user.
8 >> Anyone know what the new 'one true way' is here?
9 >
10 > As others pointed out, you now need to:
11 >
12 > source /usr/share/bash-completion/bash_completion
13 >
14 > in your ~/.bashrc. However, you also need to clean out anything in
15 > /etc/bash_completion.d/ and then:
16 >
17 > ln -s /usr/share/bash-completion/gentoo /etc/bash_completion.d/
18 >
19 > Otherwise, completion for Gentoo stuff (like "emerge") will not be
20 > available.
21
22 Although I have a number of files and one subdirectory in
23 /usr/share/bash-completion, I have neither
24 /usr/share/bash-completion/bash_completion
25 /usr/share/bash-completion/gentoo
26
27 Presumably I have forgotten to turn something on; would you know what?
28
29 thanks,
30 allan
31
32 /usr/share/bash-completion:
33 total used in directory 52K available 14G
34 drwxr-xr-x 2 4.0K Jul 25 09:20 completions
35 -rw-r--r-- 1 2.5K Jan 31 22:15 colormgr
36 -rw-r--r-- 1 553 Feb 27 10:52 dbus
37 -rw-r--r-- 1 1.2K Dec 30 2012 dconf
38 -rw-r--r-- 1 935 Dec 30 2012 gdbus
39 -rw-r--r-- 1 1.4K Dec 30 2012 gresource
40 -rw-r--r-- 1 2.6K Dec 30 2012 gsettings
41 -rw-r--r-- 1 2.5K Jan 16 2013 gvfs
42 -rw-r--r-- 1 3.4K Jun 15 11:15 ibus
43 -rw-r--r-- 1 6.4K Jul 15 16:48 libreoffice
44 -rw-r--r-- 1 1.4K Jul 16 21:32 rake
45 -rw-r--r-- 1 475 Jul 15 14:53 zeitgeist-daemon

Replies

Subject Author
[gentoo-user] Re: bash-completion change? Nikos Chantziaras <realnc@×××××.com>