Skip to content

Instantly share code, notes, and snippets.

@andredsp
Forked from jspiewak/iTermManPagerHandler
Last active February 17, 2022 14:55
Show Gist options
  • Save andredsp/ad89adfcbc363adfc645f68fdc8d93ca to your computer and use it in GitHub Desktop.
Save andredsp/ad89adfcbc363adfc645f68fdc8d93ca to your computer and use it in GitHub Desktop.
Configure iTerm2 to handle x-man-page URLs
  • Create a new profile, e.g. Man Page Viewer
  • Set the command to /bin/zsh -c "echo '$$HOST$$''$$PATH$$' | sed 's/\\// /g' | xargs man"
  • Select x-man-page from the "Schemes handled" drop down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment