If I set the
EDITOR environment variable to
emacs in bash, running
crontab -e will open the crontab in emacs. When I set it in fish with
set -U EDITOR emacs
crontab opens with vim. What can I do to get crontab to open with emacs?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community