[PATCH] Honour the $VISUAL environment variable
password-store at storiepvtride.it
password-store at storiepvtride.it
Sun Jul 19 10:56:31 CEST 2020
Am 18.07.20 um 04:11 schrieb pudinha:
> I made this patch to make *pass* honour the $VISUAL environment
> variable, as in my system $EDITOR is not a visual editor.
I'm a bit confused by the patch intent and the above statement: do I
read a misplaced "not"? Did you perhaps mean that in your system $EDITOR
*is* a visual editor? Probably my fault I'm not understanding :-)
Aside this detail, your patch made me notice that *pass* assumes "vi" as
a default editor:
+EDITOR=${VISUAL:-${EDITOR:-vi}}
I think that in 99% of cases this is true, but in my experience a fresh
installed linux box often only has "nano" available and vi/vim should be
manually installed. I'm wondering if it makes sense to change this
assumption.
Regards,
More information about the Password-Store
mailing list