SNOTES_EDITOR=${VISUAL:+xterm -e $VISUAL} : "${SNOTES_EDITOR:=${EDITOR:-vim}}"
On 4 February 2013 23:40, Petr Šabata <con...@redhat.com> wrote: > On Mon, Feb 04, 2013 at 10:54:17PM +0800, Chris Down wrote: > > Something like this should work: > > > > SNOTES_EDITOR=${VISUAL:-$EDITOR} > > Only if you run snotes from a terminal. > > P >