Skip to content

Instantly share code, notes, and snippets.

@cruzer45
Created November 1, 2013 19:50
Show Gist options
  • Save cruzer45/7270922 to your computer and use it in GitHub Desktop.
Save cruzer45/7270922 to your computer and use it in GitHub Desktop.
One liner to enable line numbers and syntax highlighting in nano
echo $'\nset const\n' | tee -a ~/.nanorc && for f in /usr/share/nano/*.nanorc; do cat $f ; done >> ~/.nanorc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment