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

Kjetil Torgrim Homme kjetil.homme at redpill-linpro.com
Thu Nov 28 13:11:30 CET 2019


Den 28.11.2019 12:14, skreiv Jason A. Donenfeld:
> Do you have any other examples of EDITOR being eval'd in this manner?
> 

I agree with your skepticism.  It is best if pass(1) handles $EDITOR
like other scripts, I'm wary of breaking other people's setup.

I would write a trivial wrapper ~/bin/vimsecure and use that as my
$EDITOR, or even simpler, use EDITOR=vi :)

'shelltemp' 'stmp'	boolean	(Vi default off, Vim default on)
			global
			{not in Vi}

-- 
Kjetil T. Homme
Redpill Linpro - Changing the game

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20191128/ac1ce26c/attachment.asc>


More information about the Password-Store mailing list