app-shells/bash-completion

This wiki page is about a gentoo ebuild. Include any information about how to install it (emerge it), potential problems and how to resolve them. Be bold and improve it!

If you have any questions or experience any problem related to this ebuild, don't hesitate to open a new ticket and we'll do our best to assist you.

Enables bash completion.

$ eselect bashcomp    
Usage: eselect bashcomp <action> <options>

Standard actions:
  help                      Display help text
  usage                     Display usage information
  version                   Display version information

Extra actions:
  disable <target>          Disable specified completion(s)
    --global                  Affect only global completion state (default when root)
    --user                    Affect only user completion state (default when not root)
    <target>                  Target name or number (from 'list' action)
  enable <target>           Enable specified completion(s)
    --global                  Affect only global completion state (default when root)
    --user                    Affect only user completion state (default when not root)
    <target>                  Target name or number (from 'list' action)
  list                      List available completions
    --global                  Show only global completion state
    --user                    Show only user completion state
  prune                     Prune stale blacklist and whitelist entries
    --global                  Prune non-existent global completions
    --user                    Prune non-existent and non-effective user completions

All bash completions are enabled by default. You can use the eselect command above to disable some you don't wish to have.

You can install your own bash_completion scripts here:
/etc/bash_completion.d/

http://linux.overshoot.tv/wiki/autocomplete

Other links

https://github.com/scop/bash-completion
https://packages.gentoo.org/packages/app-shells/bash-completion
https://www.gentoo.org/support/news-items/2014-11-25-bash-completion-2_1...