Thread
-
Changing the editor for the \e option
G. Anthony Reina <reina@nsi.edu> — 1999-04-22T21:46:54Z
Is there a way to change the editor that is used for psql when you use the \e (edit last command)? The current editor looks like Vi (which I hate). Is there a way to have psql use another? Thanks. -Tony Reina
-
Re: [SQL] Changing the editor for the \e option
John M. Flinchbaugh <glynis@butterfly.hjsoft.com> — 1999-04-22T22:01:43Z
On Thu, 22 Apr 1999, G. Anthony Reina wrote: > Is there a way to change the editor that is used for psql when you use > the \e (edit last command)? The current editor looks like Vi (which I > hate). Is there a way to have psql use another? just set the EDITOR environment variable to whatever editor you'd rather use. ____________________}John Flinchbaugh{______________________ | -> glynis@hjsoft.com <- john@cs.millersv.edu | | glynis@netrax.net http://www.hjsoft.com/~glynis/ | ~~Powered by Linux: Reboots are for hardware upgrades only~~ -
Re: [SQL] Changing the editor for the \e option
G. Anthony Reina <reina@nsi.edu> — 1999-04-22T22:13:20Z
> Yes. You use your shell's EDITOR variable. I have mine set to pico. > > Brett W. McCoy > Thanks. That worked well. -Tony
-
Re: [SQL] Changing the editor for the \e option
Brett W. McCoy <bmccoy@lan2wan.com> — 1999-04-23T01:03:22Z
On Thu, 22 Apr 1999, G. Anthony Reina wrote: > Is there a way to change the editor that is used for psql when you use > the \e (edit last command)? The current editor looks like Vi (which I > hate). Is there a way to have psql use another? Yes. You use your shell's EDITOR variable. I have mine set to pico. Brett W. McCoy http://www.lan2wan.com/~bmccoy ----------------------------------------------------------------------- ... and furthermore ... I don't like your trousers.