[RFC PATCH] Add option to print the first line of an entry

Rene Kita mail at rkta.de
Wed Dec 22 12:23:42 UTC 2021


On Tue, Dec 21, 2021 at 10:41:51AM +0300, Greg Minshall wrote:
> Rene,
Hi Greg!

> i wonder if it might make sense to do this as a separate extension, a
> companion, e.g., to pass-extension-tail?
I don't think this warrants a separate extension. An extension would be
a lot of code to avoid a '| sed 1q'. The code to get the first line is
already in pass.

The idea is to make piping the password as easy as copying it to the
clipboard. IMHO this should be a feature of pass.

> cheers, Greg
> 
Cheers, Rene


More information about the Password-Store mailing list