aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
Diffstat (limited to 'completion')
-rw-r--r--completion/pass-login.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/completion/pass-login.bash b/completion/pass-login.bash
new file mode 100644
index 0000000..8b6b1f1
--- /dev/null
+++ b/completion/pass-login.bash
@@ -0,0 +1,9 @@
+# pass-login completion file for bash
+
+PASSWORD_STORE_EXTENSION_COMMANDS+=(login)
+
+__password_store_extension_complete_login() {
+ local args=(-h --help -c --clip)
+ COMPREPLY+=($(compgen -W "${args[*]}" -- ${cur}))
+ _pass_complete_entries
+}