just delete the .selected_editor file in your profile

rm ~/.selected_editor

after that the are able to choose the editor again, for example:


user@my-linux-host:~$ crontab -e

Select an editor. To change later, run 'select-editor'.
1. /bin/nano <---- easiest
2. /usr/bin/vim.basic
3. /usr/bin/mcedit
4. /usr/bin/vim.tiny
5. /bin/ed

Choose 1-5 [1]: 2
crontab: installing new crontab


>> of course you can also just edit the file .selected_editor and change the editor there directly

computer2know :: thank you for your visit :: have a nice day :: © 2024