Skip to content

ap/perldoc-complete

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

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.