Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Package:Bash completion

From Funtoo
Revision as of 17:09, September 27, 2014 by Causes (talk | contribs)
Jump to navigation Jump to search

Bash completion

   Tip

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.

Install

root # nano /etc/portage/make.conf
USE="bash-completion"
root # emerge -av bash-completion

Enable bash completion

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

user $ nano ~/.bashrc
source /etc/profile.d/bash-completion.sh

Now you can enable completion for various programs with eselect.

user $ eselect bashcomp list
user $ eselect bashcomp enable gentoo

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

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

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

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