summaryrefslogtreecommitdiff
path: root/src/completion (follow)
Commit message (Collapse)AuthorAgeFilesLines
* zsh-completion: regression when using BSD sedKyle Marek-Spartz2014-05-061-1/+1
| | | | | | | | | | | | | Made sed expression GNU and BSD compatible. A recent change in pass.zsh-completion broke autocompletion when using BSD sed. I’ve made the relevant sed expression compatible with GNU and BSD sed. Previous change with regression: http://lists.zx2c4.com/pipermail/password-store/2014-April/000773.html http://git.zx2c4.com/password-store/commit/src/completion/pass.zsh-completion?id=f82e9d6cf3bc3a12bdfce89bf319d76f79e66efc
* zsh-completion: only remove next char if /Jason A. Donenfeld2014-04-221-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* bash-completion: filter dot files from resultsJason A. Donenfeld2014-04-181-3/+8
|
* reencrypt: remove option, do automaticallyJason A. Donenfeld2014-04-183-11/+3
|
* reencryption: add to completion filesJason A. Donenfeld2014-04-183-1/+5
|
* move/copy: always reencrypt passwords at destinationJason A. Donenfeld2014-04-173-3/+8
|
* mv: Add pass mv/rename supportJason A. Donenfeld2014-04-173-0/+15
| | | | | Based-on-work-by: Matthieu Weber <mweber@free.fr> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* grep: add to completion filesJason A. Donenfeld2014-04-153-1/+3
|
* find: add find/search commandJason A. Donenfeld2014-04-153-1/+4
| | | | | | | 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>
* Make completion cleaner.Jason A. Donenfeld2014-04-061-3/+4
|
* bash-completion: complete the new init -p switch.Jason A. Donenfeld2014-04-061-6/+19
|
* Update zsh completion.Johan Venant2014-03-241-2/+7
|
* Add some commonly used completions for `pass git`Dmitry Medvinsky2014-03-241-0/+3
|
* Update copyright years and email addressDmitry Medvinsky2014-03-241-1/+1
|
* Add `-p` `--path` option completion for `pass init`Dmitry Medvinsky2014-03-241-0/+1
|
* Makefile: do not use recursion and organizeJason A. Donenfeld2014-03-223-0/+307