1 |
On Fri, Jun 10, 2011 at 3:05 PM, Dale <rdalek1967@×××××.com> wrote: |
2 |
> I notice a really long list of things when I do this: |
3 |
> |
4 |
> eselect bashcomp list |
5 |
> |
6 |
> Is there a way to just enable them all? |
7 |
|
8 |
The wiki has a bunch of info, including a command to set them all at |
9 |
once. I've pasted it below, but e-mail formatting may ruin it. |
10 |
http://en.gentoo-wiki.com/wiki/TAB-Completion |
11 |
|
12 |
(quote) |
13 |
If you want to enable all Bash tab-completions available for your system, type: |
14 |
|
15 |
if using eselect (just remove the --global option if you don't |
16 |
want to enable them globally): |
17 |
|
18 |
( shopt -s extglob; eselect bashcomp list | while read -r s; do |
19 |
s="${s##*][[:space:]]}"; [[ $s != Available* ]] && eselect bashcomp |
20 |
enable --global "${s%%?([[:space:]]\\*)}"; done ) |
21 |
|
22 |
Remember, for the changes to have an immediate effect, issue the |
23 |
following command: |
24 |
source /etc/bash/bashrc |
25 |
(unquote) |