A workflow for Alfred to rapidly open UNIX man pages in any of traditional Terminal, HTML or PDF format.
- Alfred (version 3.0+)
- The Alfred Powerpack.
- Python 3 (
xcode-select --install
or Homebrew)
Type man
in Alfred, optionally followed by the section to which you wish to restrict search, followed by a glob pattern to match against man page names.
Action modifiers:
- Shift+Enter: open locally rendered HTML man page in default browser.
- Command+Enter: open PDF man page in default PDF viewer.