<feed xmlns='http://www.w3.org/2005/Atom'>
<title>password-store/src/completion, branch pager</title>
<subtitle>Simple password manager using gpg and ordinary unix directories.</subtitle>
<id>https://git.zx2c4.com/password-store/atom/src/completion?h=pager</id>
<link rel='self' href='https://git.zx2c4.com/password-store/atom/src/completion?h=pager'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/'/>
<updated>2014-04-22T16:39:47Z</updated>
<entry>
<title>zsh-completion: only remove next char if /</title>
<updated>2014-04-22T16:39:47Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-22T16:39:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=f82e9d6cf3bc3a12bdfce89bf319d76f79e66efc'/>
<id>urn:sha1:f82e9d6cf3bc3a12bdfce89bf319d76f79e66efc</id>
<content type='text'>
From Kevin:

I found a small bug in the zsh completions.  Basically when the
PASSWORD_STORE_DIR ends in a slash the first character of the
result is eaten, making completion essentially useless. (It does
this before determining matches).

This can be fixed by changing what is line 106 in my version from:

_values -C 'passwords' $(find -L "$prefix" \( -name .git -o -name
.gpg-id \) -prune -o $@ -print | sed -e "s#${prefix}.##" -e 's#\.gpg##'
| sort)

to

_values -C 'passwords' $(find -L "$prefix" \( -name .git -o -name
.gpg-id \) -prune -o $@ -print | sed -e "s#${prefix}/\\?##" -e
's#\.gpg##' | sort)

The difference is the first sed regex expression.  The original
version assumed that the next character was a slash and removed
it while the new version only removes it if it is a slash.

"s#${prefix}.##" -&gt; "s#${prefix}/\\?##"

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Reported-by: Kevin Cox &lt;kevincox@kevincox.ca&gt;
</content>
</entry>
<entry>
<title>bash-completion: filter dot files from results</title>
<updated>2014-04-18T10:30:50Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-18T10:30:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=04ff6261ca172aceb09bad926da68c41ba17b78e'/>
<id>urn:sha1:04ff6261ca172aceb09bad926da68c41ba17b78e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reencrypt: remove option, do automatically</title>
<updated>2014-04-17T23:57:13Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-17T23:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=84815317659d40319703bac18cd4388990ed4cee'/>
<id>urn:sha1:84815317659d40319703bac18cd4388990ed4cee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reencryption: add to completion files</title>
<updated>2014-04-17T23:40:19Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-17T23:40:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=002882684ba3fb5b4d191794888d139f6b89f64d'/>
<id>urn:sha1:002882684ba3fb5b4d191794888d139f6b89f64d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move/copy: always reencrypt passwords at destination</title>
<updated>2014-04-17T21:04:59Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-17T21:04:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=586f6bd1eb32766168645d0582839dbf36e7f205'/>
<id>urn:sha1:586f6bd1eb32766168645d0582839dbf36e7f205</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mv: Add pass mv/rename support</title>
<updated>2014-04-17T12:40:56Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-17T12:30:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=658fe0ac863a4d1c62b3c64d2ed9c92981274bd4'/>
<id>urn:sha1:658fe0ac863a4d1c62b3c64d2ed9c92981274bd4</id>
<content type='text'>
Based-on-work-by: Matthieu Weber &lt;mweber@free.fr&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>grep: add to completion files</title>
<updated>2014-04-15T16:15:32Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-15T16:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=1a87b50208a9f26cb60d93edf7ddebd1fdc277b7'/>
<id>urn:sha1:1a87b50208a9f26cb60d93edf7ddebd1fdc277b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>find: add find/search command</title>
<updated>2014-04-14T22:27:57Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-14T12:59:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=7ed0a70aa6d1fd502ff5443bced462d6dedd8511'/>
<id>urn:sha1:7ed0a70aa6d1fd502ff5443bced462d6dedd8511</id>
<content type='text'>
This relies on a patched version of tree to work, unfortunately.
Hopefully upstream will accept our patch.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>Make completion cleaner.</title>
<updated>2014-04-07T00:38:31Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-07T00:38:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=cca731a2954036425e35d6f1601a7debb71c1c49'/>
<id>urn:sha1:cca731a2954036425e35d6f1601a7debb71c1c49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bash-completion: complete the new init -p switch.</title>
<updated>2014-04-06T08:51:48Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-04-06T08:51:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/password-store/commit/?id=7df1e2de504f28574230ee214550aefa717f8476'/>
<id>urn:sha1:7df1e2de504f28574230ee214550aefa717f8476</id>
<content type='text'>
</content>
</entry>
</feed>
