Colored Nano Interface
Add color to your favorite “nano” editor using this simple one line command
1 |
find /usr/share/nano/ -iname "*.nanorc" -exec echo include {} \; >> ~/.nanorc |
The code above searches for all files inside the folder /src/share/nano/ folder. This folder contains the different nano color configurations. An example can be found below. In order to use one of the color scheme, you need to modify or create a local nano config file in your home folder named .nanorc. On each new line, add an “include instruction” for each color scheme you want. The command above includes all of the files automatically for you so you wont need to list them manually.