creative internet computer display

Adding Syntax Highlighting To Nano

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.