carta
dh_bash-completion(1)

dh_bash-completion1

Install bash completions for package

Usage

dh_bash-completion [debhelper options]

Overview

dh_bash-completion is a debhelper program that is responsible for installing completions for bash, usable installing the "bash-completion" package.

In order to use it, you need to pass "--with bash-completion" to debhelper and Build-depend on bash-completion.

If a file named debian/package.bash-completion exists, then different actions are performed, depending on its format.

It can be a proper completion snippet, and in that case it would be installed in the completion directory, and no other actions would be performed.

It can also be a list of files, with an optionally specified name to call the completion snippet after. The file format is as follows:

  my/path/to/foo-completion       # this would be installed as "foo-completion"
  my/path/to/bar-completion  baz  # this would be installed as "baz"

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch) to Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)

Author

David Paleino <[email protected]>

From bash-completion 1:2.16.0-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.