The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
set EDITOR=vi -> default editor not setting for cron tab
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
set EDITOR=vi -> default editor not setting for cron tab
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
09-12-2008
amaltemara
Registered User
Join Date: Sep 2008
Posts: 1
check VISUAL env variable
I had the same problem, check and see if the VISUAL env. variable is set to something other than
vi
.
Code:
set | grep VISUAL
If so, then that's overriding the EDITOR variable.
Many ways to fix...
Add to your ~/.bash_profile (or /etc/profile, or /etc/profile.d/SOME_FILE)
Code:
export VISUAL=
vi
amaltemara
View Public Profile
Find all posts by amaltemara
Find amaltemara's past nominations received
Find amaltemara's present nominations given