GitHub - usr-sse2/ManToDictionary: Convert man pages into Apple Dictionary

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Convert man pages into Apple Dictionary

License

MIT license

12 stars 0 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

Repository files navigation

ManToDictionary

This is a program to convert man pages to Apple Dictionary dictionaries. It allows to find manuals for shell commands and C functions using Dictionary app, Look Up context menu item, or Look up & data detectors trackpad gesture in Terminal, Safari, TextEdit and other applications.

Lookup from Terminal

Dictionary app

Usage

  1. Download Additional Tools for Xcode from https://developer.apple.com and put Dictionary Development Kit from it to /DevTools/Utilities/Dictionary Development Kit (path can be changed in Makefile).
  2. Create ~/Library/Dictionaries directory, if it doesn't exist.
  3. Specify all man page directories in manDirs array in main.swift
  4. Compile and run the program. It will build dictionaries and install them in ~/Library/Dictionaries.
  5. Open Dictionary application and enable man sections in preferences:

Dictionary Preferences

Now you can use the dictionaries.

About

Convert man pages into Apple Dictionary

Resources

Readme

License

MIT license

Activity

Stars

12 stars

Watchers

2 watching

Forks

0 forks

Releases

No releases published