Skip to content

Instantly share code, notes, and snippets.

@ckolderup
Created May 10, 2011 02:22
Show Gist options
  • Save ckolderup/963816 to your computer and use it in GitHub Desktop.
Save ckolderup/963816 to your computer and use it in GitHub Desktop.
woman loads manpages from man.cx in w3m
#woman loads manpages from man.cx in w3m, since you sometimes don't get them via homebrew (for good reason: http://goo.gl/zvwvp)
#use `woman w3m` to view the manpage for w3m.
#use `woman 2 wait` to view the page for "wait" from section 2 if you really need this for some reason, I dunno, whatevs
brew install w3m; echo "woman() { if [ \$# -eq 2 ]; then w3m \"http://man.cx/\$2(\$1)\"; else w3m \"http://man.cx/\$1\"; fi; }" >> ~/.bashrc; source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment