summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Venant <jvenant@invicem.pro>2014-03-24 13:42:07 -0300
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-24 13:42:07 -0300
commit0d10b4f4b8a55bd389dc2c5eb5c338ef328032cf (patch)
tree7bf1004207449513f70b24bfb3359fef3b262edd
parentaea785914f5549e16363d83b0ef660a59d184f55 (diff)
downloadpass-0d10b4f4b8a55bd389dc2c5eb5c338ef328032cf.tar.gz
pass-0d10b4f4b8a55bd389dc2c5eb5c338ef328032cf.tar.bz2
pass-0d10b4f4b8a55bd389dc2c5eb5c338ef328032cf.zip
Update zsh completion.
-rw-r--r--src/completion/pass.zsh-completion9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/completion/pass.zsh-completion b/src/completion/pass.zsh-completion
index 0bb14de..7590322 100644
--- a/src/completion/pass.zsh-completion
+++ b/src/completion/pass.zsh-completion
@@ -1,12 +1,15 @@
#compdef pass
+#autoload
# Copyright (C) 2012:
# Johan Venant <jvenant@invicem.pro>
# Brian Mattern <rephorm@rephorm.com>
# Jason A. Donenfeld <Jason@zx2c4.com>.
+# Santiago Borrazás <sanbor@gmail.com>
# All Rights Reserved.
# This file is licensed under the GPLv2+. Please see COPYING for more information.
+
_pass () {
local cmd
if (( CURRENT > 2)); then
@@ -20,8 +23,10 @@ _pass () {
case "${cmd}" in
init)
_arguments : \
- "-r[re-encrypt existing passwords]" \
- "--reencrypt[re-encrypt existing passwords]"
+ "-e[re-encrypt existing passwords]" \
+ "--reencrypt[re-encrypt existing passwords]" \
+ "-p[gpg-id will only be applied to this subfolder]" \
+ "--path[gpg-id will only be applied to this subfolder]"
_pass_complete_keys
;;
ls|list|edit)