<p dir="ltr">Just expand into an array and use that.</p>
<div class="gmail_quote">On Jul 26, 2014 9:47 PM, "Marc Cornellà" <<a href="mailto:marc.cornella@live.com">marc.cornella@live.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As I suspected, my fix doesn't work. I finally installed pass and set<br>
up a mock account based on the example in<br>
the home page of the project.<br>
<br>
I used the lastpass2pass importer and a custom lastpass.csv file,<br>
which I made available as a gist [1],<br>
in case someone wants to use it to test with.<br>
<br>
This is the output that I get with my currently patched completion:<br>
<br>
    --clip  -c  -- put it on the clipboard<br>
    --help     -- Output help message<br>
    --version  -- Output version information<br>
    cp        -- Copy the password<br>
    edit      -- Edit a password with $EDITOR<br>
    find      -- Find password files or directories based on pattern<br>
    generate  -- Generate a new password using pwgen<br>
    git       -- Call git on the password store<br>
    grep      -- Search inside decrypted password files for matching pattern<br>
    help      -- Output help message<br>
    init      -- Initialize new password storage<br>
    insert    -- Insert a new password<br>
    ls        -- List passwords<br>
    mv        -- Rename the password<br>
    rm        -- Remove the password<br>
    show      -- Decrypt and print a password<br>
    version   -- Output version information<br>
    Business/<a href="http://another-business-site.net" target="_blank">another-business-site.net</a>\nBusiness/<a href="http://some-silly-business-site.com" target="_blank">some-silly-business-site.com</a>\nEmail/<a href="http://donenfeld.com" target="_blank">donenfeld.com</a>\nEmail/<a href="http://zx2c4.com" target="_blank">zx2c4.com</a>\nFrance/bank\nFrance/freebox\nFrance/mobilephone<br>

<br>
Notice that passwords are then separated by the literal `\n`, since<br>
now zsh interprets the text inside quotes as the<br>
same parameter so it doesn't separate them anymore and _values<br>
receives it and displays it as one same entry.<br>
<br>
I'm working on an alternative syntax that doesn't trigger this<br>
behavior while at the same time fixing the other errors<br>
that appear with the current completion.<br>
<br>
Cheers<br>
<br>
[1] <a href="https://gist.github.com/mcornella/9ad312530ddec1a6eaca" target="_blank">https://gist.github.com/mcornella/9ad312530ddec1a6eaca</a><br>
--<br>
Marc<br>
_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
</blockquote></div>