[PATCH] Honour the $VISUAL environment variable

René Neumann lists at necoro.eu
Sun Jul 19 13:24:18 CEST 2020


> 
> 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.

Isn't vi mandated by the POSIX standard to be available? And IIRC 
busybox supplies a vi command. (NB: vi != vim)

So far, I've only seen alpine docker images that lack a vi -- but they 
don't count.




More information about the Password-Store mailing list