m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Mattern <rephorm@rephorm.com>2012-10-03 09:29:59 -0700
committerBrian Mattern <rephorm@rephorm.com>2012-10-03 09:29:59 -0700
commit2e70dee860095299238084c0d7a9f173e0e7eb29 (patch)
tree46ca9a0ad38ed7e45b3dd8ecdbf575b4f1138460
parent94d9b4390f7b0a01b6aa6ad91439570b7cbef967 (diff)
upate completion scripts for --echo option
-rw-r--r--contrib/pass.bash-completion2
-rw-r--r--contrib/pass.zsh-completion4
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pass.bash-completion b/contrib/pass.bash-completion
index c993c7f..d0ef012 100644
--- a/contrib/pass.bash-completion
+++ b/contrib/pass.bash-completion
@@ -63,7 +63,7 @@ _pass()
_pass_complete_entries 1
;;
insert)
- COMPREPLY+=($(compgen -W "-n --no-echo -m --multiline -f --force" -- ${cur}))
+ COMPREPLY+=($(compgen -W "-e --echo -m --multiline -f --force" -- ${cur}))
_pass_complete_entries
;;
generate)
diff --git a/contrib/pass.zsh-completion b/contrib/pass.zsh-completion
index f26c38b..848bc67 100644
--- a/contrib/pass.zsh-completion
+++ b/contrib/pass.zsh-completion
@@ -29,8 +29,8 @@ _pass () {
;;
insert)
_arguments : \
- "-n[no console output]" \
- "--no-echo[no console output]" \
+ "-e[echo password to console]" \
+ "--echo[echo password to console]" \
"-m[multiline]" \
"--multiline[multiline]"
_pass_complete_entries_with_subdirs