$ set|grep nano
EDITOR=/usr/bin/nano
export EDITOR=/usr/bin/vi
$ set|grep /vi
EDITOR=/usr/bin/vi
_=EDITOR=/usr/bin/vi
And "crontab -e" is using vi!
This only fixes the terminal session I am in, but that is OK for right now.
On 2/26/25 6:08 PM, Robert Moskowitz wrote:
On 2/26/25 6:02 PM, Michal Schorm wrote:
Just a guess - even when configuration changes on the disk, the
already running instance (of the shell?) won't get updated.
Assuming you use bash, can you just call new 'bash' after that to
spring up a new instance which will correctly load the new settings,
inside of the one you currently have?
I guess "logging out and back again" usually solves stuff exactly
because it means you will get a fresh new shell instance.
If I understand you correctly I should be able to just run "bash"
within a terminal window and then vi will be called, rather than nano?
Well I tried the above and crontab -e still dropped into nano.
Grumble. I HATE logging out. :)
--
On Wed, Feb 26, 2025 at 11:43 PM Robert Moskowitz
<r...@htt-consult.com> wrote:
I ran:
dnf install vim-default-editor --allowerasing
But I am still getting nano when I try to "crontab -e"
Do I have to logout and back in for this change to take? Or is
there an
easier way?
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue