Perl
Permalink
Failed to load latest commit information.
README.mkd
perldoc-complete complete the support for newer perls Feb 17, 2013

README.mkd

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.