m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/completion
diff options
context:
space:
mode:
authorDmitry Medvinsky <me@dmedvinsky.name>2014-03-24 11:28:08 +0400
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-24 13:40:11 -0300
commitfb9e53927e308e6ec5831bdaaf49cbd6ec30dddd (patch)
tree423f03453d80272f419212f2aa95ee287c55cd2d /src/completion
parent8500984943be4fc89f870a30766a385883556283 (diff)
Add `-p` `--path` option completion for `pass init`
Diffstat (limited to 'src/completion')
-rw-r--r--src/completion/pass.fish-completion1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/completion/pass.fish-completion b/src/completion/pass.fish-completion
index 9130d1f..0f818ba 100644
--- 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'