Try set -Ux EDITOR /usr/bin/vim
Fish doesn't export variables by default (just like bash). The -x tells it
to do so.
Jan
On Sat, Oct 2, 2010 at 05:15, [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.
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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