Wednesday, 11 September 2013

Unable to Set VISUAL environement variable in bashrc

Unable to Set VISUAL environement variable in bashrc

I am trying to set the VISUAL and EDITOR environment variables in a server
for default usage with crontab.
When I do a manual export VISUAL=vim, things work perfectly.
But when I add the lines
EDITOR=vim
VISUAL=vim
to my .bashrc file and logout and re-login, I don't see any changes on
opening crontab -e. If later I do echo $VISUAL, I get the response vim
What am I doing wrong here?

No comments:

Post a Comment