1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 08:33:54 +08:00
ohmyzsh/plugins/pass
2024-05-30 17:05:50 +02:00
..
_pass fix(pass): completion for multiple repositories (#12464) 2024-05-30 17:05:50 +02:00
README.md pass: add README (#8282) 2019-10-18 20:05:49 +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 $@
}