-
-
Save JARVIS-AI/aa0f21fd91baf633cd161cff0776ceb3 to your computer and use it in GitHub Desktop.
Syntax highlighting in nano on Mac OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install Homebrew if you don't already have it: http://mxcl.github.io/homebrew/ | |
# install nano from homebrew | |
brew install nano | |
# update your nanorc file with the contents of the nanorc file below | |
nano ~/.nanorc | |
# close and re-open your terminal and you'll have syntax highlighting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.nanorc | |
include "/usr/local/share/nano/*.nanorc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment