Created
April 28, 2014 18:47
-
-
Save cfedde/11380625 to your computer and use it in GitHub Desktop.
metacpan shell function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scpan () { | |
u=`perl -MURI::Escape -wle 'print "http://metacpan.org/search?q=". | |
uri_escape(join " ", @ARGV)' $@` | |
/usr/bin/w3m -no-mouse -F $u | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment