Skip to content

Instantly share code, notes, and snippets.

@justerror
Forked from BlakeGardner/install nano.sh
Created March 11, 2022 15:39
Show Gist options
  • Save justerror/4abc9e3ecc3d353d39eec205db969673 to your computer and use it in GitHub Desktop.
Save justerror/4abc9e3ecc3d353d39eec205db969673 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
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