Bash completion

Revision as of 11:21, November 1, 2014 by Causes (Talk | contribs)


Source Repository:Repository:Gentoo Portage Tree

Summary: Bash tab-completion



Project Unfork Status

Here's an update on Project Unfork, plus other neat things.
2015-10-03 by Drobbins

IP Space Migration Continues

All Funtoo user containers in the 8.28 IP space will be moving into our new IP space (172.97) over the next few days. If you have DNS set up -- be sure to watch your container and update to the new IP! DNS will be updated after the move.
2015-08-27 by Drobbins

Funtoo Hosting IP Move

Funtoo user containers with IPs in the 72.18.x.x range will be gradually migrating to new IP addresses this week. If you have DNS entries for your containers, please be aware that your DNS will need to be updated.
2015-08-11 by Drobbins

Bash completion


We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


# emerge -av bash-completion

If you want to enable bash completion for any package that supports it, you can set the global USE flag bash-completion:

/etc/portage/make.conf - Set bash-completion globally
USE="$USE bash-completion"

And then emerge -avN @world to enable bash-completion on packages you formerly built without that support.

However, you probably won't need bash completion on every package you install. So for a lighter system and faster completion, prefer enabling it on a per package basis.

Enable bash completion

You need to add the following to your .bashrc to load bash-completion.

~/.bashrc - enable bash completion
source /etc/profile.d/

Now you can enable completion for various programs with eselect.

$ eselect bashcomp list
$ eselect bashcomp enable gentoo

To enable bash completion for all packages, you can use the following.

# eselect bashcomp enable --global {0..476}

To disable bash completion for all packages, you can use the following.

# eselect bashcomp disable --global {0..476}