Works, thanks. On 02/10/2010 14:04, Grissiom wrote: > On Sat, Oct 2, 2010 at 11:15 AM, [email protected] > <[email protected]> wrote: >> I'm having difficulty changing a >> crontab editor to vim, I've tried both >> $EDITOR and $VISUAL as both /usr/bin/vim >> and just vim. I've also made a symlink >> /etc/alternatives/editor -> /usr/bin/vim >> >> In bash this changes the editor as I'd >> expect >> $ export EDITOR=/usr/bin/vim >> >> but in fish I still get nano even after >> this (I've checked that the variable is >> set correctly) >> $ set -U EDITOR /usr/bin/vim >> >> It's an ubuntu box if that makes any >> difference. >> > Try `set -Ux EDITOR vim`. It works on my box. >
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
