Created
January 26, 2014 16:34
-
-
Save ericdke/8635357 to your computer and use it in GitHub Desktop.
Read `man` page in Preview.app
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
# read man page in preview app | |
function pman () { | |
man -t $@ | open -f -a /Applications/Preview.app | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
~/.bashrc
or~/.zshrc
source ~/.your_rc_file
pman some_command
instead ofman some_command