mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-05 09:43:38 +08:00
.. | ||
_pass | ||
README.md |
pass
This plugin provides completion for the pass password manager.
To use it, add pass
to the plugins array in your zshrc file.
plugins=(... pass)
Configuration
Multiple repositories
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 $@
}