m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/completion/pass.bash-completion
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-17 23:04:59 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-17 23:04:59 +0200
commit586f6bd1eb32766168645d0582839dbf36e7f205 (patch)
tree12e3e9b6913416c804c079071408474d3f5b1df8 /src/completion/pass.bash-completion
parent2ba85daddf46422aa510a8c03ff75ba59761c190 (diff)
move/copy: always reencrypt passwords at destination
Diffstat (limited to 'src/completion/pass.bash-completion')
-rw-r--r--src/completion/pass.bash-completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/completion/pass.bash-completion b/src/completion/pass.bash-completion
index 08378f7..69a044d 100644
--- a/src/completion/pass.bash-completion
+++ b/src/completion/pass.bash-completion
@@ -57,7 +57,7 @@ _pass()
{
COMPREPLY=()
local cur="${COMP_WORDS[COMP_CWORD]}"
- local commands="init ls find grep show insert generate edit rm git help version"
+ local commands="init ls find grep show insert generate edit rm mv cp git help version"
if [[ $COMP_CWORD -gt 1 ]]; then
local lastarg="${COMP_WORDS[$COMP_CWORD-1]}"
case "${COMP_WORDS[1]}" in
@@ -84,7 +84,7 @@ _pass()
COMPREPLY+=($(compgen -W "-n --no-symbols -c --clip -f --force" -- ${cur}))
_pass_complete_entries
;;
- mv|rename)
+ cp|copy|mv|rename)
COMPREPLY+=($(compgen -W "-f --force" -- ${cur}))
_pass_complete_entries
;;