Skip to content

Bash Completion

Alan Storm edited this page Aug 20, 2017 · 1 revision

Pestle ships with a bash autocomplete script that will give you tab completion for command names, a few options, and (most importantly) paths to files for commands where pestle operates on files. Just drop (or symlink) the pestle-autocomplete.sh script into your bash_completion folder

ex. 
/usr/local/etc/bash_completion/pestle-autocomplete.sh

Note: We're making use of the scop/bash-completion project in our scripts, so you'll want to have that installed to get the most out of pestle's autocompletion. The easiest way to do this is to use a package manager like brew, apt-get, yum, etc.

brew install bash-completion
sudo apt-get install bash-completion
yum install bash-completion
Clone this wiki locally