Mac OS X – Repair nano Syntax Highlighting

How to repair syntax highlighting for nano under the ssh terminal on Mac OS X:

/bin/ls /usr/local/share/nano/*.nanorc | xargs -I {} echo 'include "{}"' >> ~/.nanorc

After you execute the command on the terminal everything works fine again. All of the colors will reappear.

About The Author

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Scroll to Top