From 002882684ba3fb5b4d191794888d139f6b89f64d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 18 Apr 2014 01:40:19 +0200 Subject: reencryption: add to completion files --- src/completion/pass.bash-completion | 2 +- src/completion/pass.fish-completion | 2 ++ src/completion/pass.zsh-completion | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/completion') 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) -- cgit v1.2.3-70-g09d2 1'>Enable debugging for this branchRené 'Necoro' Neumann1-2/+2 2010-04-23new version plugin showed the versions in the wrong orderRené 'Necoro' Neumann1-1/+1 2010-04-23Clearer debug message for packages not in mergequeueRené 'Necoro' Neumann1-1/+1 2010-04-23Reset HOME to /root for rootRené 'Necoro' Neumann1-0/+4 2010-04-23Small error in sqldbRené 'Necoro' Neumann1-1/+1 2010-04-22Updated french translation to current translation status.Clement Bourgeois1-77/+84 2010-04-19Typo in TRANSLATORSRené 'Necoro' Neumann1-1/+1 2010-04-19Updated portguese translationAlberto Federman Neto1-348/+469 2010-04-19Remove unused pythonic eix parser implementationRené 'Necoro' Neumann1-416/+0 2010-04-19Connect the accels from the menu.René 'Necoro' Neumann1-12/+16 2010-04-19Replace 'Portage Warning' by 'External Warning'René 'Necoro' Neumann1-1/+1 2010-04-17Updated italian translation. Thx to PonsiRené 'Necoro' Neumann1-314/+369 2010-04-16Fix gtk deprecation warningRené 'Necoro' Neumann1-1/+1 2010-04-16TypoRené 'Necoro' Neumann2-3/+3 2010-04-16Do not allow portage's sqlite backend for the moment ... bug #564292René 'Necoro' Neumann2-16/+25 2010-04-15Better sorting of the database types in the preferences.René 'Necoro' Neumann2-6/+6 2010-04-15Add notify-python dependency for the version checkerRené 'Necoro' Neumann1-1/+1 2010-04-15Make the database type choice an info messageRené 'Necoro' Neumann2-7/+13 2010-04-15Renamed es_ES to esRené 'Necoro' Neumann1-0/+0 2010-04-15Fixed dependancy of the new_version plugin from "dev-util/git" to "dev-vcs/gi...Clement Bourgeois1-1/+1 2010-04-14Make some useless info messages being debug statementsRené 'Necoro' Neumann2-34/+17 2010-04-14Improve the C modulesRené 'Necoro' Neumann3-37/+52 2010-04-14Small modifications made to the French translation (typos, grammar).Clement Bourgeois1-69/+69 2010-04-14Fixed the unicode support and stuff ... and also made eix faster :)René 'Necoro' Neumann1-20/+22 2010-04-14Disable debug messages by defaultRené 'Necoro' Neumann1-1/+1 2010-04-13Better eix error inheritance and handlingRené 'Necoro' Neumann1-2/+9 2010-04-13Fix the handling of FilterSets. Fixes bug #558887.René 'Necoro' Neumann2-56/+64 2010-04-12Updated newsRené 'Necoro' Neumann1-0/+1 2010-04-13Added my name to translators list.Clement Bourgeois1-0/+1