Skip to content

Instantly share code, notes, and snippets.

@Kamikadze4GAME
Forked from jspiewak/iTermManPagerHandler
Created January 10, 2022 10:26
Show Gist options
  • Save Kamikadze4GAME/2c83363798d487835522b3bac128632b to your computer and use it in GitHub Desktop.
Save Kamikadze4GAME/2c83363798d487835522b3bac128632b 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/bash -c "echo '$$HOST$$$$PATH$$' | sed -E 's/(.*)\\/(.*)/\\1 \\2/' | 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