conf2/zsh/.oh-my-zsh/plugins/pass
2019-11-12 18:55:38 +01:00
..
_pass add oh-my-zsh to local user config 2019-01-12 16:47:23 +01:00
README.md update oh my zsh 2019-11-12 18:55:38 +01:00

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 $@
}