Skip to content

Instantly share code, notes, and snippets.

@smujohnson
Created November 17, 2012 00:55
Show Gist options
  • Save smujohnson/4092307 to your computer and use it in GitHub Desktop.
Save smujohnson/4092307 to your computer and use it in GitHub Desktop.
sjohnson@web1:~/http$ type man
man is a function
man ()
{
if /usr/bin/man "$@" > /dev/null 2>&1; then
/usr/bin/man "$@" | vi - -R;
else
/usr/bin/man "$@";
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment