[patch] Don't use tree when output is not a terminal
Paul
PMo_ at vivaldi.net
Wed May 16 06:48:56 CEST 2018
I've written a patch which tests whether the output is a terminal, and
then formats using `tree` only in that case. If not, `find` is used
instead. This would simplify scripting around pass.
It may be useful to add `-s|--simple` and `-P|--pretty` parameters to
the find and show commands to override this behavior.
Thoughts? Corrections?
--Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-print.patch
Type: text/x-patch
Size: 2956 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20180515/e049e7a4/attachment.bin>
-------------- 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/20180515/e049e7a4/attachment.asc>
More information about the Password-Store
mailing list