Adding Syntax Highlighting To Nano

  • Post by Mike Dixson
  • Jun 25, 2020
post-thumb

Run the following shell command to add all installed syntax files to your .nanorc file.

ls -d /usr/share/nano/*.nanorc | awk '{print "include "$1}' >> ~/.nanorc

There is also a greatly expanded syntax library here
https://github.com/scopatz/nanorc

LATEST POST
  • Post By Mike Dixson
  • Nov 17, 2020
Using MFA for Sudo Only
  • Post By Mike Dixson
  • Jul 25, 2020
Fixed: Obelisk not working in Ableton Live
  • Post By Mike Dixson
  • Jun 15, 2020
BYOBU files being flagged by rkhunter
TAG