Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: othersrc



[ On Friday, May 5, 2000 at 00:42:53 (+0930), Brett Lymn wrote: ]
> Subject: Re: CVS commit: othersrc
>
> According to Perry E. Metzger:
> >
> >Maybe "edit" should be a program that invokes your favorite editor
> >depending on your EDITOR variable? Sure, it is not what people might
> >expect in some contexts, but it may be better overall....
> >
> 
> This would be a very good thing to do - if EDITOR is not set just use
> the basic editor 

Doing this in an entirely new and separate program seems extremely
wasteful and inelegant to me.

Why not just put appropriate aliases/functions in the system-wide
startup profiles?!?!?!?

Personally I've been using this (or its csh equivalent) for at least a
dozen years now, if not more:

        $ alias e
        e='${VISUAL:-$EDITOR}'

-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods%acm.org@localhost>      
<robohack!woods>
Planix, Inc. <woods%planix.com@localhost>; Secrets of the Weird 
<woods%weird.com@localhost>



Home | Main Index | Thread Index | Old Index