commit fb9e53927e308e6ec5831bdaaf49cbd6ec30dddd
parent 8500984943be4fc89f870a30766a385883556283
Author: Dmitry Medvinsky <me@dmedvinsky.name>
Date: Mon, 24 Mar 2014 11:28:08 +0400
Add `-p` `--path` option completion for `pass init`
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/completion/pass.fish-completion b/src/completion/pass.fish-completion
@@ -63,6 +63,7 @@ complete -c $PROG -f -A -n '__fish_pass_needs_command' -a version -d 'Command: s
complete -c $PROG -f -A -n '__fish_pass_needs_command' -a init -d 'Command: initialize new password storage'
complete -c $PROG -f -A -n '__fish_pass_uses_command init' -s e -l reencrypt -d 'Reencrypt existing passwords using new gpg-id'
+complete -c $PROG -f -A -n '__fish_pass_uses_command init' -s p -l path -d 'Assign gpg-id for specified sub folder of password store'
complete -c $PROG -f -A -n '__fish_contains_opt -s e reencrypt' -a '(__fish_pass_print_gpg_keys)'
complete -c $PROG -f -A -n '__fish_pass_needs_command' -a ls -d 'Command: list passwords'