Date: Fri, 08 Sep 2006 11:19:07 -0400 From: Gerard Seibert <gerard@seibercom.net> To: freebsd-questions@freebsd.org Subject: Re: Changing Default Editor in profile Message-ID: <20060908111738.2EBC.GERARD@seibercom.net> In-Reply-To: <1cac28080609080749q4fe4d31agc51d5206b0340f5c@mail.gmail.com> References: <1cac28080609080749q4fe4d31agc51d5206b0340f5c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Huy Ton That wrote: > under my home directory for root under .profile I added the line: > > EDITOR=pico; export EDITOR > > where no such line existed for EDITOR before; this line exists in my > personal account that I use and my default for external launched editors is > now pico such that I can edit crontab stuff easily. However, when I ssh in > and then su, I try to run crontab only to find it is still booting into 'vi' > by default. Any ideas how I can get this loaded? Try using: su -m instead. -- Gerard Seibert gerard@seibercom.net Give a man a fire, he is warm for a night. Set a man on fire and he is warm for the rest of his life.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060908111738.2EBC.GERARD>