<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    <div class="moz-cite-prefix">Le 15/08/2016 à 18:22, Kun Zhang a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CAHesA63nxB7LrAPgSWz8z1eHrXG=7sfcKk4+=XWnXVOSBmrmMg@mail.gmail.com"
      type="cite">Happy to see other people thinking the same thing :) I
      also started with a simple script that does find and grep in
      .password-store, but then I realized it's probably a better idea
      to integrate it to pass, because:
      <div>
        <div>1) I want to be able to run "pass show" with and without
          --clip, with and without the line number. I don't want to
          re-implement argument parsing in my script. </div>
        <div>
          <div class="gmail_extra">2) Such feature is probably useful
            for other people.  Having it in the main pass script is most
            convenient for users.</div>
        </div>
      </div>
    </blockquote>
    <br>
    I agree with both.<br>
    Just I dont take time to put into pass itself.<br>
    So as the excellent design of pass permit it, I hacked directly to 
    the ~/.password-store ! <span class="moz-smiley-s3"><span>;-)</span></span><br>
    <br>
    I shared my code as is here: <a
      href="https://github.com/Sylvain303/find_pass">https://github.com/Sylvain303/find_pass</a><br>
    <br>
    <div class="moz-cite-prefix">Le 16/08/2016 à 03:18, David Adam a
      écrit :<br>
    </div>
    <blockquote
      cite="mid:alpine.DEB.2.11.1608160916080.7240@motsugo.ucc.gu.uwa.edu.au"
      type="cite">
      <pre wrap="">On Sun, 14 Aug 2016, Kun Zhang wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">However, I hate to type the full paths, because they are usually quite
long. bash-completion is nice, but still kind of slows me down.  The "find"
command is not very helpful because I have to type out the full path in
"show" even if there is only one match, and I cannot simply copy the "find"
output to "show" because it's a tree view instead of plain paths.
</pre>
      </blockquote>
      <pre wrap="">
Does your shell not do substring matching in completions for you? ;-)
</pre>
    </blockquote>
    <br>
    I manage both fullpath and pass argument, it seems that all idea
    here could merge into something really cool.<br>
    Also it may be time to think about signed plugin as mentioned here:
    <br>
    <br>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
    <p>
      [pass] Extending pass with user-defined hooks / add ons<br>
      <a
href="https://lists.zx2c4.com/pipermail/password-store/2015-August/001659.html"
title="https://lists.zx2c4.com/pipermail/password-store/2015-August/001659.html"
        class="https">https://lists.zx2c4.com/pipermail/password-store/2015-August/001659.html</a>
    </p>
    <meta name="Description" content="Copy-Paste Buffer">
    <meta name="Generator" content="Zim">
    <br>
    Hope that helps…<br>
    Sylvain.<br>
    <pre class="moz-signature" cols="72">-- 
Sylvain Viart - Consultant informatique système linux</pre>
  </body>
</html>