dotfiles/zsh/.local/share/oh-my-zsh/plugins/pass
2024-07-24 23:47:14 +02:00
..
_pass fix omz being in wrong directory 2024-07-24 23:47:14 +02:00
README.md fix omz being in wrong directory 2024-07-24 23:47:14 +02: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 $@
}