Your EDITOR variable is joe ivf it is in /etc/profile.local and it isn't overridden by some other entry in .profile or .bashrc. If you give the command crontab -e this will invoke joe instead if the default vi(m). However /usr/bin/edit is a symlink to vim (try ls -l /usr/bin/edit). You can of course change that if you want to. (I wouldn't. vi(m) rocks.) Bottom line: edit doesn't use the EDITOR variable, as opposed to for examle crontab -e, visudo or vipw. torsdagen den 19 april 2001 13:53 skrev Oliver Ob:
Ok, I finally have some time to work on my Linux system:
1) I added export EDITOR=joe to /etc/profile.local, but when I enter edit at the shell, I happen to enter vi again. Solution? And how can I give options to joe when starting via this alias? is the joerc the correct way or have I to change the whole alias?
2) I set some aliases like alias $='ls -alX', and now I am experiencing that I do not get what I wanted. I would like the appearance of the LS output to be like with doscmd=/o:gen, that is directories sorted in a-z order FIRST, then the a-z sorted FILES.
Any thoughts?