my problem is that i keep forgetting to write
sudo before every time i use nano, and eventually what happens is i work on a file for a while and don't have permissions. i remember hearing somewhere that you can edit one of the files so that every time i type
it will function as if i wrote
sudo nano filename
i haven’t tried anything since I've no previous knowledge about this.
how would i go about doing this?