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 16:54, September 27, 2014 by Causes (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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