diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-18 01:40:19 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-18 01:40:19 +0200 |
commit | 002882684ba3fb5b4d191794888d139f6b89f64d (patch) | |
tree | c22d7e394ae2ee0241d5262a55e6d7d59b63a492 /src/completion | |
parent | 7a7f7dcc1089da00d4ae0e65a6aa1982da5c7c49 (diff) | |
download | pass-002882684ba3fb5b4d191794888d139f6b89f64d.tar.gz pass-002882684ba3fb5b4d191794888d139f6b89f64d.tar.bz2 pass-002882684ba3fb5b4d191794888d139f6b89f64d.zip |
reencryption: add to completion files
Diffstat (limited to '')
-rw-r--r-- | src/completion/pass.bash-completion | 2 | ||||
-rw-r--r-- | src/completion/pass.fish-completion | 2 | ||||
-rw-r--r-- | src/completion/pass.zsh-completion | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/src/completion/pass.bash-completion b/src/completion/pass.bash-completion index 69a044d..d04125b 100644 --- a/src/completion/pass.bash-completion +++ b/src/completion/pass.bash-completion @@ -85,7 +85,7 @@ _pass() _pass_complete_entries ;; cp|copy|mv|rename) - COMPREPLY+=($(compgen -W "-f --force" -- ${cur})) + COMPREPLY+=($(compgen -W "-e --reencrypt -f --force" -- ${cur})) _pass_complete_entries ;; rm|remove|delete) diff --git a/src/completion/pass.fish-completion b/src/completion/pass.fish-completion index b0c44ef..aa09288 100644 --- a/src/completion/pass.fish-completion +++ b/src/completion/pass.fish-completion @@ -83,10 +83,12 @@ complete -c $PROG -f -A -n '__fish_pass_uses_command generate' -a "(__fish_pass_ complete -c $PROG -f -A -n '__fish_pass_needs_command' -a mv -d 'Command: rename existing password' complete -c $PROG -f -A -n '__fish_pass_uses_command mv' -s f -l force -d 'Force rename' +complete -c $PROG -f -A -n '__fish_pass_uses_command mv' -s e -l reencrypt -d 'Reencrypt files if new location has different gpg-id' complete -c $PROG -f -A -n '__fish_pass_uses_command mv' -a "(__fish_pass_print_entries_and_dirs)" complete -c $PROG -f -A -n '__fish_pass_needs_command' -a cp -d 'Command: copy existing password' complete -c $PROG -f -A -n '__fish_pass_uses_command cp' -s f -l force -d 'Force copy' +complete -c $PROG -f -A -n '__fish_pass_uses_command cp' -s e -l reencrypt -d 'Reencrypt files if new location has different gpg-id' complete -c $PROG -f -A -n '__fish_pass_uses_command cp' -a "(__fish_pass_print_entries_and_dirs)" complete -c $PROG -f -A -n '__fish_pass_needs_command' -a rm -d 'Command: remove existing password' diff --git a/src/completion/pass.zsh-completion b/src/completion/pass.zsh-completion index 55d9bb5..cb78115 100644 --- a/src/completion/pass.zsh-completion +++ b/src/completion/pass.zsh-completion @@ -52,6 +52,8 @@ _pass () { _arguments : \ "-f[force rename]" \ "--force[force rename]" \ + "-e[reencrypt to new gpg-id]" \ + "--reencrypt[reencrypt to new gpg-id]" _pass_complete_entries_with_subdirs ;; rm) |