How to make nano the default editor on the system

Hi @Snubbi,

I wrote this for someone today. Don’t know if it’ll work, but I’m guessing it will:

Note:
In your case you’d need to replace $BROWSER with $EDITOR.

My $EDITOR if the following:

$ echo $EDITOR
/usr/bin/nano

Hope this helps!