Note:

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

Difference between revisions of "Package:Bash completion"

From Funtoo
Jump to navigation Jump to search
(Created page with "{{Ebuild |Summary=Bash tab-completion |CatPkg=app-shells/bash-completion |Maintainer= |Homepage=http://bash-completion.alioth.debian.org/ }} == Install == /etc/portage/make.c...")
 
Line 29: Line 29:
<console>
<console>
# eselect bashcomp enable --global {0..476}
# eselect bashcomp enable --global {0..476}
</console>
To disable bash completion for all packages, you can use the following.
<console>
# eselect bashcomp disable --global {0..476}
</console>
</console>
{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 16:56, September 27, 2014

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

/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.

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}