Skip to content
Henry Catalini Smith edited this page Nov 1, 2021 · 1 revision

If you've ever used a command-line program like Git, you've probably used tab completion before. For example, you type git chec, press the <Tab> key, and bash automatically completes the rest of the command for you: git checkout. Bash accomplishes this through the use of a completion function, and the good news is that there's one available for ppl.

To install the completion function globally:

$ ppl completion bash | sudo tee /etc/bash_completion.d/ppl

The completion command simply outputs the completion function code in its entirety. The above line pipes that code into its rightful place in your system's Bash completion function config directory.

Clone this wiki locally