News for hackers. Stuff that matters.
Re:micro – A Modern Alternative to nano by junaru on Friday August 18, 2023 @09:37AM (#37175450)
Haven't tried removing nano ever but hate it with a passion for one simple reason.

If none of the EDITOR/VISUAL/etc. variables are set when you invoke 'visudo' a f*king nano appears.

Like god dammit it i assume vi in that name comes from vi as even the manpage has 'vi' among 'see also'. This is akin to launching firefox and some random application popping up - its the ultimate troll and i salute your graybeards for solving the problem at the core!

Re:micro – A Modern Alternative to nano by zwog on Friday August 18, 2023 @01:34PM (#37179188)
That is OS dependent, though. On Arch Linux with EDITOR empty `visudo` opens vi.