ohmyzsh/plugins/pass
Roderik Muit b8e4aa2b0c
fix(pass): update `pass` completion to ff5ac38 (#9761)
This fixes a problem when completion filenames with colons.

Source: https://git.zx2c4.com/password-store/commit/?id=ff5ac38f7984d7b3d2912dba106baa2fed52e530
2021-12-28 20:34:05 +01:00
..
README.md pass: add README (#8282) 2019-10-18 20:05:49 +02:00
_pass fix(pass): update `pass` completion to ff5ac38 (#9761) 2021-12-28 20:34:05 +01:00

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