diff options
author | Guangxiong Lin <[email protected]> | 2022-05-29 14:22:15 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-05-29 15:08:21 +0800 |
commit | 9464678f948c623eb3440ba07a35c90c8ecc6951 (patch) | |
tree | 125eb029fba65e056eff2f79028a2a275dc22e61 /completion | |
download | pass-login-9464678f948c623eb3440ba07a35c90c8ecc6951.tar.gz pass-login-9464678f948c623eb3440ba07a35c90c8ecc6951.tar.bz2 pass-login-9464678f948c623eb3440ba07a35c90c8ecc6951.zip |
First commitv0.1.0
Diffstat (limited to 'completion')
-rw-r--r-- | completion/pass-login.bash | 9 |
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 +} |