-
-
Save willbeaufoy/78a16fc1b5a7c01853a7 to your computer and use it in GitHub Desktop.
Open man pages in Sublime Text 3
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
# Paste this function into the shell, and/or add it to .bashrc. | |
# Then typing sman ssh will open the ssh man page in sublime text. | |
# Requires sublime text command line options (open with subl) | |
function sman() | |
{ | |
man $1 > /tmp/man && subl /tmp/man | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment