-
-
Save justerror/4abc9e3ecc3d353d39eec205db969673 to your computer and use it in GitHub Desktop.
Syntax highlighting in nano on Mac OS
This file contains hidden or 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 | |
echo 'include "/opt/homebrew/Cellar/nano/NANO_VERSION_NUMBER/share/nano/*.nanorc"'>> ~/.nanorc | |
# close and re-open your terminal and you'll have syntax highlighting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment