bash-completion is a collection of command-line command completions for the Bash shell, a collection of helper functions to assist in creating new completions, and a set of facilities for loading completions automatically on-demand, as well as installing them. The easiest way to install this software is to use a package; refer to Repology for a comprehensive list of operating system distributions, package names, and available versions. Depending on the package, you may still need to source it from either /etc/bashrc or ~/.bashrc (or any other file sourcing those). If you don't have the package readily available for your distribution, or you simply don't want to use one, you can install bash-completion using the standard commands for GNU Autotools packages. If you find that a given function is producing errors or does not work as it should under certain circumstances when you attempt completion, try running set -x or set -v prior to attempting the completion again.
Features
- The easiest way to install this software is to use a package
- Collection of command line command completions
- Collection of helper functions to assist in creating new completions
- Set of facilities for loading completions automatically
- Load completions on demand
- Debug dynamic loading of a completion