Freelance software developer from Portland Oregon.

Better Man Page Viewing

If you use macOS, go put this into your zshrc or equivalent.

function xman() {
  open x-man-page://$1
}

Once you’ve done that, use it by typing things like xman grep to show man pages in their own window like this:

Terminal man page window

On macOS, Terminal.app handles the x-man-page URL scheme by opening a new window showing the man page you wanted. You can change how it looks by changing the “Man Page” profile in settings, but, why would you when the yellow looks so cool?