-
Notifications
You must be signed in to change notification settings - Fork 233
OS X
Install the fonts from the ./build
directory by double-clicking them in Finder.app:
devicons-regular.ttf
fontawesome-regular.ttf
octicons-regular.ttf
pomicons-regular.ttf
You can organize them in a collection:
Reboot your mac and hold CMD+R after the startup chime.
Launch Terminal.app from the Utilities menu once booted into System Recovery and run:
csrutil disable; reboot
Once rebooted back into normal mode, use Xcode.app to open and edit the plist file after first copying it to ~/Desktop
:
cp /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Resources/DefaultFontFallbacks.plist ~/Desktop
open -a Xcode.app ~/Desktop/DefaultFontFallbacks.plist
In the plist editor, expand "monospace" then click the + icon to add a new row and type in Pomodoro
. Do this three more times for FontAwesome
, Octicons
, and Icomoon
until the plist looks like:
Make a backup of the original DefaultFontFallbacks.plist
:
cp /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Resources/DefaultFontFallbacks.plist ~/DefaultFontFallbacks.plist.bak
Close Xcode.app and move the file back into place, overwriting the original:
sudo mv ~/Desktop/DefaultFontFallbacks.plist /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Resources/DefaultFontFallbacks.plist
Now reboot into recovery mode again (CMD+R) and re-enable System Integrity Protection:
csrutil enable; reboot
Tested with iTerm2 Build 3.0.5