Re: [SQL] Changing the editor for the \e option

Поиск
Список
Период
Сортировка
От John M. Flinchbaugh
Тема Re: [SQL] Changing the editor for the \e option
Дата
Msg-id Pine.LNX.4.10.9904221800210.29440-100000@butterfly.hjsoft.com
обсуждение исходный текст
Ответ на Changing the editor for the \e option  ("G. Anthony Reina" <reina@nsi.edu>)
Список pgsql-sql
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~~



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: [SQL] Changing the editor for the \e option
Следующее
От: "G. Anthony Reina"
Дата:
Сообщение: Re: [SQL] Changing the editor for the \e option