<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zsh.git/plugins/pass, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cnjoe.info/git/zsh.git/atom/plugins/pass?h=master</id>
<link rel='self' href='http://cnjoe.info/git/zsh.git/atom/plugins/pass?h=master'/>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/'/>
<updated>2024-05-30T15:05:50Z</updated>
<entry>
<title>fix(pass): completion for multiple repositories (#12464)</title>
<updated>2024-05-30T15:05:50Z</updated>
<author>
<name>Lukas Grimm</name>
<email>ombre@ombre.ch</email>
</author>
<published>2024-05-30T15:05:50Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=a4424dfefd68e4d23badb2f86087184f9e06fab4'/>
<id>urn:sha1:a4424dfefd68e4d23badb2f86087184f9e06fab4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(pass): update `pass` completion to ff5ac38 (#9761)</title>
<updated>2021-12-28T19:34:05Z</updated>
<author>
<name>Roderik Muit</name>
<email>rm@wyz.biz</email>
</author>
<published>2021-12-28T19:34:05Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=b8e4aa2b0cf53301f7decbbea7ab210cefa31e59'/>
<id>urn:sha1:b8e4aa2b0cf53301f7decbbea7ab210cefa31e59</id>
<content type='text'>
This fixes a problem when completion filenames with colons.

Source: https://git.zx2c4.com/password-store/commit/?id=ff5ac38f7984d7b3d2912dba106baa2fed52e530</content>
</entry>
<entry>
<title>pass: update completion to upstream version (675a002e) (#6475)</title>
<updated>2020-02-28T19:29:44Z</updated>
<author>
<name>Sven Hergenhahn</name>
<email>sven@hergenhahn-web.de</email>
</author>
<published>2020-02-28T19:29:44Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=389de86cf5e4976bdda4259b27987c44d401ae96'/>
<id>urn:sha1:389de86cf5e4976bdda4259b27987c44d401ae96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pass: add README (#8282)</title>
<updated>2019-10-18T18:05:49Z</updated>
<author>
<name>flowin</name>
<email>winkler@b1-systems.de</email>
</author>
<published>2019-10-18T18:05:49Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=efee47b5c0438f7dd0cfd03b9339bd6e1b4ab932'/>
<id>urn:sha1:efee47b5c0438f7dd0cfd03b9339bd6e1b4ab932</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pass: update completion (2018-08-03)</title>
<updated>2018-08-09T18:17:43Z</updated>
<author>
<name>Marc Cornellà</name>
<email>marc.cornella@live.com</email>
</author>
<published>2018-08-09T18:17:43Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=f2f078a1bbbce1631a99150029541544e621b6be'/>
<id>urn:sha1:f2f078a1bbbce1631a99150029541544e621b6be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use https everywhere (#6574)</title>
<updated>2018-08-07T18:42:01Z</updated>
<author>
<name>Janosch Schwalm</name>
<email>janosch.schwalm@gmail.com</email>
</author>
<published>2018-08-07T18:42:02Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=19b925e741fa46d2222210469a4dffc34a634ebd'/>
<id>urn:sha1:19b925e741fa46d2222210469a4dffc34a634ebd</id>
<content type='text'>
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
</content>
</entry>
<entry>
<title>Fix pass zsh completion and autoloading</title>
<updated>2014-08-28T22:39:33Z</updated>
<author>
<name>Marc Cornellà</name>
<email>marc.cornella@live.com</email>
</author>
<published>2014-07-26T21:26:12Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=142a6c7fd5bcda6c45c25aca582972a7d4e1da85'/>
<id>urn:sha1:142a6c7fd5bcda6c45c25aca582972a7d4e1da85</id>
<content type='text'>
When autocompleting from `pass &lt;TAB&gt;', sometimes the following errors
appear:

  _values:compvalues:10: not enough arguments
  find: `/home/user/.password-store': No such file or directory
  _values:compvalues:10: not enough arguments
  find: `/home/user/.password-store': No such file or directory

The `_values' error happens when there is no password-store folder *or*
there are no passwords in pass; the `find' error only when there is no
password-store folder.

We can trace it back to line 108, which contains the only `_values'
statement that is executed when we autocomplete from pass. We confirm
this by following the trail of execution, which is

  _pass -&gt; _pass_cmd_show -&gt; _pass_complete_entries -&gt;
        -&gt; _pass_complete_entries_helper

If we try running the command inside `$()' on line 104, we see that it
returns nothing and the output is blank. This means that `_values' only
receives 1 of its 2 mandatory parameters, therefore the above error is
triggered (not enough arguments).

That is unless we don't have a password-store folder, in which case the
`find: [...] no such file or directory' error is *also* triggered.

We solve the first error by supplying a default value of "" if the
command outputs nothing, using the zsh construct ${var:-else}.

We solve the second error by redirecting the find command's stderr output
to /dev/null, so the error is effectively suppressed.

* * * *

This patch also fixes the first tab completion, which currently only
loads the completion function definition.

We do this by adding a `_pass' statement at the end of the file, which
runs the `_pass' completion function after loading its definition.
This is the standard way an autoloaded function works; for other examples
look at zsh's official completion files.
</content>
</entry>
<entry>
<title>Update pass completion to upstream</title>
<updated>2014-08-28T22:39:33Z</updated>
<author>
<name>Marc Cornellà</name>
<email>marc.cornella@live.com</email>
</author>
<published>2014-07-26T21:23:13Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=17dd5792b4a34e65311fda6ab469b98f31cf30df'/>
<id>urn:sha1:17dd5792b4a34e65311fda6ab469b98f31cf30df</id>
<content type='text'>
Conflicts:
	plugins/pass/_pass
</content>
</entry>
<entry>
<title>Added a link to the file's license and added the commiter as plugin maintaner.</title>
<updated>2014-08-28T22:39:33Z</updated>
<author>
<name>Santiago Borrazás</name>
<email>sanbor@gmail.com</email>
</author>
<published>2012-12-08T18:31:13Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=25a3244353076cbffc8ddb2ee592b94b17383694'/>
<id>urn:sha1:25a3244353076cbffc8ddb2ee592b94b17383694</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update _pass to follow symlinks for completion</title>
<updated>2013-11-23T14:32:22Z</updated>
<author>
<name>christianschmidt</name>
<email>cs@chrische.net</email>
</author>
<published>2013-11-23T14:32:22Z</published>
<link rel='alternate' type='text/html' href='http://cnjoe.info/git/zsh.git/commit/?id=ec779d5f737f0f70a7353bb0e78dc2d38606c8d9'/>
<id>urn:sha1:ec779d5f737f0f70a7353bb0e78dc2d38606c8d9</id>
<content type='text'>
Based on: http://comments.gmane.org/gmane.comp.encryption.pass/235</content>
</entry>
</feed>
