Pmbootstrap: Tab Completion

Frequent users of pmbootstrap may want to set up tab completion to automatically complete your commands and arguments when pressing tab. Pressing it twice also lists possible arguments.

Install argcomplete
Install argcomplete with your distribution's package manager:

Or in the unlikely case that your distribution does not have it packaged:

Next, do one of the following depending on the shell you use.

Bash
Add the following line to :

For Ubuntu 20.04+:

Then reload your configuration by opening a new terminal or by running.

Zsh
Add the following lines to :

Then reload your configuration by opening a new terminal or by running.

Fish
Run the following to add an autocomplete file for pmbootstrap: