The --in-place flag is a bit dangerous when you have to enter the old
password before to generate the new one,
The edit subcommand does not automatically generate a new password.
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?

Cheers

Il giorno ven 27 gen 2017 alle ore 20:19 James Wald <[email protected]>
ha scritto:

> I haven't used this command personally, but after reading this thread I
> found a command that pops open an editor:
>
> pass edit path/to/password
>
> This works for my typical use case.
>
> On Fri, Jan 27, 2017 at 11:09 AM, Emile Cantin <[email protected]>
> wrote:
>
> Shouldn't that be the default option? We could have a --replace-full (or
> similar) flag if you really want to overwrite the whole thing.
>
> Le ven. 27 janv. 2017 à 14:04, Marin Usalj <[email protected]> a écrit :
>
> There's an --in-place flag
> $ pass generate --in-place Login/Creditkarma 30
>
> --
> Marin Usalj
> supermar.in
>
> On Fri, Jan 27, 2017, at 11:03 AM, [email protected] wrote:
> > Hi,
> >
> > I just discovered pass and I am already loving it!
> >
> > When generating a new password for a multiline entry, the whole entry is
> > overwritten.
> > Is there an easy way to overwrite only the first line and maintain the
> > rest of the entry as it was before?
> >
> > If not, this is a feature request. ;)
> >
> > Cheers
> > Tobias
> >
> > BTW: The host lists.zx2c4.com is not supporting TLS encryption. I had to
> > turn off my providers check for it to send this mail.
> >
> >
> > _______________________________________________
> > Password-Store mailing list
> > [email protected]
> > https://lists.zx2c4.com/mailman/listinfo/password-store
> _______________________________________________
> Password-Store mailing list
> [email protected]
> https://lists.zx2c4.com/mailman/listinfo/password-store
>
>
> _______________________________________________
> Password-Store mailing list
> [email protected]
> https://lists.zx2c4.com/mailman/listinfo/password-store
>
>
>
>
> --
> James
> _______________________________________________
> Password-Store mailing list
> [email protected]
> https://lists.zx2c4.com/mailman/listinfo/password-store
>
-- 
Diego Depaoli
_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to