Steve Greenland <[EMAIL PROTECTED]> writes: > On 14-Jun-99, 02:06 (CDT), Brock Rozen <[EMAIL PROTECTED]> wrote: > > On Sun, 13 Jun 1999 at 12:22, Joseph Carter wrote about "Re: Editor and...": > > > #!/bin/bash > > > shopt -s execfail > > > exec ${VISUAL:-${EDITOR:-editor}} "$@" > > > > Yes, I saw this. But I didn't see, like the following two lines, > > something that supported pico OUTSIDE of the VISUAL or EDITOR > > environment variables. > > > > I would still like to see a "hard-coded" line for pico, like there is > > for ae or vi. That's all I wanted. > > Why? Are we supposed to list every possible editor? If you want pico to > be your default, set EDITOR or VISUAL. What's so hard about that? If > you want pico to be the system wide default (god forbid), set EDITOR in > /etc/profile and /etc/cshrc (or whatever it's called).
NOOOOO, hands of /etc/profile. Make pico /etc/alternative/editor via the alternatives mechanisms and be happy with it. May the Source be with you. Goswin