[pass] [PATCH] zsh completion: exclude the password-store dir
Matti Niemenmaa
matti.niemenmaa+git at iki.fi
Thu Apr 4 14:42:17 CEST 2013
Previously, completing after e.g. 'pass ls ' included
$PASSWORD_STORE_DIR in the list of available completions. Since the sed
expression only matched $prefix followed by another character, the
prefix was always included. The fix is to accept that character only
optionally, so that the prefix is matched but it also still removes the
separator from all other options.
And since the dot was presumably meant only to match the separating
forward slash, change it to that slash explicitly instead of matching
any character.
---
contrib/pass.zsh-completion | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-zsh-completion-exclude-the-password-store-dir.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20130404/77bed927/attachment.bin>
More information about the Password-Store
mailing list