Content-type: text/html; charset=UTF-8 Man page of DH_BASH-COMPLETION

DH_BASH-COMPLETION

Section: Bash-Completion Debhelper (1)
Updated: 2025-01-26
Index Return to Main Contents
 

NAME

dh_bash-completion - install bash completions for package  

SYNOPSIS

dh_bash-completion [debhelper options]  

DESCRIPTION

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"

 

SEE ALSO

debhelper(1)

This program is a part of bash-completion.

bash(1)  

AUTHOR

David Paleino <d.paleino@gmail.com>


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 11:48:42 GMT, September 14, 2026