An issue with bashrc aliases
I am setting up my .bashrc file with all sorts of nifty aliases and all is good. Except that I tried adding "alias edit='leafpad'" so that I could type "edit (file)". And all this works fine until I try to do it using sudo. Then it opens visudo or vim or something. Why is this? Thank you.