Skip to main content

Xontrib Bash Completions Dirs

Project description

Xontrib Bash Completions Dirs

License: GPL v3 PyPI version Supported Python versions Downloads

Autocomplete loading from directories.

Installation

To install use xpip:

xpip install xontrib-bash-completions-dirs

or

xpip install -U git+https://codeberg.org/taconi/xontrib-bash-completions-dirs

Usage

xontrib load bash_completions_dirs

Add the variable BASH_COMPLETIONS_DIRS (which must be an iterable of strings) with the paths of the directories that contain the autocomplete files.

For example:

$BASH_COMPLETIONS_DIRS = ['/usr/share/bash-completion/completions']

Note: The file name must be the same as the command to be used in autocomplete

For example, the file /usr/share/bash-completion/completions/git will be used to autocomplete the git command

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xontrib_bash_completions_dirs-0.1.5.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page