Skip to content

Externally available completions

Koichi Murase edited this page Sep 10, 2021 · 36 revisions

This is a list of known "external" completions, i.e. ones that are not shipped with the bash-completion project but in respective upstream projects along with the executables they provide completions for, or repositories dedicated to just shipping completions. The list is probably never complete or completely up to date, but hopefully useful nevertheless.

Please keep the table sorted by the first listed executable.

Executables Upstream (available versions) Path to completion script(s) Requires bash-completion
adb Android SDK, adb /adb.bash
bat sharkdp/bat (> 0.18.1) /assets/completions/bat.bash.in
fzf junegunn/fzf (>= 0.5.0 (fa5617e0)) /shell/completion.bash
git git/git (>= 1.4.3) /contrib/completion/git-completion.bash
hub github/hub (>= 1.8.4 eadde0a7) /etc/hub.bash_completion.sh
make TobiasFaller/custom-makefile-completion (all) /custom-makefile-completion.patch
mock rpm-software-management/mock (> 1.1.0) /mock/etc/bash_completion.d/mock
module, ml cea-hpc/modules (>= 3.2.7) /init/bash_completion.in
nmcli NetworkManager/NetworkManager (>= 0.9.8.0) /src/nmcli/nmcli-completion
op op (1Password) (>= 1.2.0) N/A (not open source); op completion bash outputs
reptyr nelhage/reptyr (>= 0.7.0) /reptyr.bash
slackpkg rworkman/slackpkg (>= 15.0.4) /files/shell-completion/slackpkg.bash
svn, various svn* subversion (>= 0.12.0) /tools/client-side/bash_completion
systemctl, many more systemd/systemd (>= 196) /shell-completion/bash
yum rpm-software-management/yum (>= 3.2.26) /etc/yum.bash
(many) Bash-it/bash-it (>= 2010-10-03 (initial commit)) /completion/available/*
(many) ohmybash/oh-my-bash (>= 2017-10-10 (e65c390b)) /completions/*
(many) karelzak/util-linux (>= 2.23) /bash-completion/*
(many) rpm-software-management/yum-utils (>= 1.1.24) /yum-utils.bash
(generator) spf13/cobra (>= 2015-04-08 (9b2e6822, older than 0.0.5)) /bash_completions.go, /bash_completionsV2.go
(generator) kislyuk/argcomplete /argcomplete/shell_integration.py, /argcomplete/bash_completion.d/python-argcomplete
  • The checkbox in the last column shows whether the completion script has dependencies on bash-completion. The standalone completion scripts, which doesn't have dependencies on bash-completion, are listed to avoid possible name collisions with bash-completion. Also, some of the sdandalone completion scripts are forks of bash-completions, so that it may be useful for porting fixes in bash-completion to these scripts.
  • The items with the first column being (generator) are automatic generator for completion scripts. They can be considered as an upstream of many automatically-generated completions.
Clone this wiki locally