diff options
author | Sven Hergenhahn <sven@hergenhahn-web.de> | 2020-02-28 20:29:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 20:29:44 +0100 |
commit | 389de86cf5e4976bdda4259b27987c44d401ae96 (patch) | |
tree | 67973270e6587882df6aafc84f72c3b834796888 | |
parent | c3984a775994645b8fb9ef7f714a92edb7baf5ac (diff) | |
download | zsh-389de86cf5e4976bdda4259b27987c44d401ae96.tar.gz zsh-389de86cf5e4976bdda4259b27987c44d401ae96.tar.bz2 zsh-389de86cf5e4976bdda4259b27987c44d401ae96.zip |
pass: update completion to upstream version (675a002e) (#6475)
-rw-r--r-- | plugins/pass/_pass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/pass/_pass b/plugins/pass/_pass index 5f3b8f541..75f3feb4f 100644 --- a/plugins/pass/_pass +++ b/plugins/pass/_pass @@ -18,6 +18,14 @@ # PASSWORD_STORE_DIR=$HOME/work/pass pass $@ # } +# If you use multiple repositories, you can configure completion like this: +# +# compdef _pass workpass +# zstyle ':completion::complete:workpass::' prefix "$HOME/work/pass" +# workpass() { +# PASSWORD_STORE_DIR=$HOME/work/pass pass $@ +# } + _pass () { local cmd |