Something like this should work:
SNOTES_EDITOR=${VISUAL:-$EDITOR}
On 4 February 2013 22:49, Stephen Paul Weber <singpolyma_AT_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, _AT_singpolyma
> See <http://singpolyma.net> for how I prefer to be contacted
> edition right joseph
>
Received on Mon Feb 04 2013 - 15:54:17 CET