summaryrefslogtreecommitdiffstats
path: root/src/completion/pass.zsh-completion
AgeCommit message (Collapse)Author
2014-04-22zsh-completion: only remove next char if /Jason A. Donenfeld
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}.##" -> "s#${prefix}/\\?##" Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reported-by: Kevin Cox <kevincox@kevincox.ca>
2014-04-18reencrypt: remove option, do automaticallyJason A. Donenfeld
2014-04-18reencryption: add to completion filesJason A. Donenfeld
2014-04-17move/copy: always reencrypt passwords at destinationJason A. Donenfeld
2014-04-17mv: Add pass mv/rename supportJason A. Donenfeld
Based-on-work-by: Matthieu Weber <mweber@free.fr> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-04-15grep: add to completion filesJason A. Donenfeld
2014-04-15find: add find/search commandJason A. Donenfeld
This relies on a patched version of tree to work, unfortunately. Hopefully upstream will accept our patch. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-03-24Update zsh completion.Johan Venant
2014-03-22Makefile: do not use recursion and organizeJason A. Donenfeld