Skip to content

Instantly share code, notes, and snippets.

@JARVIS-AI
Forked from BlakeGardner/install nano.sh
Created June 12, 2021 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JARVIS-AI/aa0f21fd91baf633cd161cff0776ceb3 to your computer and use it in GitHub Desktop.
Save JARVIS-AI/aa0f21fd91baf633cd161cff0776ceb3 to your computer and use it in GitHub Desktop.
Syntax highlighting in nano on Mac OS
# 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
# ~/.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