Bash Integration Guide
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:
Bash accomplishes this through the use of a completion
function, and the good news is
that there’s one available for ppl.
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.