-
-
Save daniel7byte/7ad088ca85bdbf7970a9fa82d223d94a 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" |
Author
daniel7byte
commented
Jul 17, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment