Error in /etc/nanorc in GIT for Windows, no /usr/share/nano

Viewed 1505

I got this error while using nano in Windows Terminal, with GIT-bash.

$ nano .bashrc
Error in /etc/nanorc on line 237: Error expanding /usr/share/nano/*.nanorc: No such file or directory
2 Answers

Got my answer here, that I will copy-paste here in case the content is lost:

$ git clone https://github.com/serialhex/nano-highlight
$ cd nano-highlight
$ cp * /usr/share/nano
Related