summaryrefslogtreecommitdiff
path: root/src/completion
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/completion/pass.bash-completion2
-rw-r--r--src/completion/pass.zsh-completion4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/completion/pass.bash-completion b/src/completion/pass.bash-completion
index 95d3e1e..1d1789a 100644
--- a/src/completion/pass.bash-completion
+++ b/src/completion/pass.bash-completion
@@ -101,7 +101,7 @@ _pass()
_pass_complete_entries
;;
show|-*)
- COMPREPLY+=($(compgen -W "-c --clip" -- ${cur}))
+ COMPREPLY+=($(compgen -W "-c --clip -u --user" -- ${cur}))
_pass_complete_entries 1
;;
insert)
diff --git a/src/completion/pass.zsh-completion b/src/completion/pass.zsh-completion
index d911e12..66832af 100644
--- a/src/completion/pass.zsh-completion
+++ b/src/completion/pass.zsh-completion
@@ -117,7 +117,9 @@ _pass () {
_pass_cmd_show () {
_arguments : \
"-c[put it on the clipboard]" \
- "--clip[put it on the clipboard]"
+ "--clip[put it on the clipboard]" \
+ "-u[print only username]" \
+ "--user[print only username]"
_pass_complete_entries
}
_pass_complete_entries_helper () {