[pass] Change the default text editor for pass
Brian Candler
b.candler at pobox.com
Mon Nov 14 12:11:49 CET 2016
On 14/11/2016 09:58, Micha Rosenbaum wrote:
> On Mon, Nov 14, 2016 at 10:51:26AM +0100, Uwe Kaminski wrote:
>> >What do you think regarding this functionality especially if you do
>> >not use vi as default editor?
> Have you tried to set your wanted editor with the environment variable
> $EDITOR? Try:
>
> export EDITOR=joe && pass edit Your/Passphrase
>
In addition, if this is an Ubuntu system, there is a generic
/usr/bin/editor which points to whatever is the current default editor.
So if you do
EDITOR=editor pass edit foo
it will use the system default. And to change the system default editor,
" sudo update-alternatives --config editor"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20161114/3ef5dbea/attachment.html>
More information about the Password-Store
mailing list