Bastien Roucariès <ro...@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 via email to