[PATCH] Use eval() to shell-parse $EDITOR for pass-edit

Tobias Girstmair t-passwd at girst.at
Thu Nov 28 22:00:00 CET 2019


On Fri, Nov 29, 2019 at 09:51:42AM +1300, martin f. krafft wrote:
>That's all I have in /usr/bin here ;)

I've got /usr/bin/i3-sensible-editor and it _does_ eval it (not that i 
have a strong opinion on this topic):

    for editor in "$VISUAL" "$EDITOR" nano nvim vim vi emacs pico qe mg jed gedit mcedit gvim; do
	if command -v "$editor" > /dev/null 2>&1; then
	    exec "$editor" "$@"
	fi
    done


More information about the Password-Store mailing list