Lukas Grimm a4424dfefd fix(pass): completion for multiple repositories (#12464) | 5 luni în urmă | |
---|---|---|
.. | ||
README.md | 5 ani în urmă | |
_pass | 5 luni în urmă |
This plugin provides completion for the pass password manager.
To use it, add pass
to the plugins array in your zshrc file.
plugins=(... 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 $@
}