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

Re: RFC: Sensible-editor sensible-utils alternative and update



Bastien Roucariès <rouca@debian.org> writes:

>> b) but if im in a terminal (even if running in gnome) then i want a
>>  terminal-based editor (based on what i installed)
>
> depends for me I prefer to run under emacsclient so you could do
> something like
> SENSIBLE_EDITOR='if [ -t 0 ]; then sensible-editor-GNOME ; else
> sensible-editor-tty; fi;'

Couldnt i already put that it in ~/bin/editor and set
EDITOR to that script?




Reply to: