12 July 2023

Revenge of the Nano

It's funny. I thought I had removed nano on my main system. Yet today, I typed sudo visudo to check the syntax of the file, and the file opened in nano. I was both confused and annoyed. I had removed nano from my system with extreme prejudice. (Ref: https://blog.mock.tech/2021/10/fedora-updates-remove-vim-default.html)

Indeed /usr/bin/nano persisted. Someone in the #fedora-social suggested rpm -qf `which nano`. It was from Fedora 34. Somehow, the package was still installed and left the cruft of nano behind.

So, with a swift rpm -e $(rpm -e `which nano`), I finally swept away the last remnants of that horrid editor.

Long live vim!