Quoting Diego Depaoli (2017-01-27 21:42:11)
> So to hold it all together, I use a trivial two step  solution: first with
> edit subcommand I manually add an empty line at the top of the file, then
> with generate subcommand and --in-place flag i fill it.
> Is there any easier way?

You could try to temporarily use sed as your editor.  Something like

EDITOR="sed -i '1i\\
'" pass edit foo; pass generate -i foo 20

(take care about quoting in your shell you want the sed command to be 4
chars long, as a C-syle escaped string that would be "1i\\\n")

Happy hacking
Lucas

Attachment: signature.asc
Description: signature

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to