A bash completion helper for perldoc
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit behind ap:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A bash completion helper for perldoc

Check the back story if you want the details about this.

Using it as as simple as saving it somewhere in your $PATH and adding the following line to your .bashrc:

complete -C perldoc-complete -o nospace -o default perldoc

Or do as I do, and add the following two lines:

alias pod=perldoc
complete -C perldoc-complete -o nospace -o default pod

That’s all; now you can hit the Tab key at some point after typing perldoc or pod and get some sensible suggestions. Or hit the Tab key just to browse your module library.

Have fun.