Something like this should work:

SNOTES_EDITOR=${VISUAL:-$EDITOR}

On 4 February 2013 22:49, Stephen Paul Weber <singpol...@singpolyma.net>wrote:

> Somebody claiming to be Daniel Bryan wrote:
>
>> On Mon, Feb 04, 2013 at 10:47:34AM +0100, Petr Šabata wrote:
>> +1, though in case you hadn't noticed, you can set SNOTES_EDITOR in
>> ~/.snotes/config.
>>
>
> Why not just use $VISUAL or $EDITOR ?  Why would someone want to use a
> different editor than their default editor?
>
> --
> Stephen Paul Weber, @singpolyma
> See <http://singpolyma.net> for how I prefer to be contacted
> edition right joseph
>

Reply via email to