]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/pass/README.md
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / pass / README.md
1 # pass
2
3 This plugin provides completion for the [pass](https://www.passwordstore.org/) password manager.
4
5 To use it, add `pass` to the plugins array in your zshrc file.
6
7 ```
8 plugins=(... pass)
9 ```
10
11 ## Configuration
12
13 ### Multiple repositories
14
15 If you use multiple repositories, you can configure completion like this:
16 ```zsh
17 compdef _pass workpass
18 zstyle ':completion::complete:workpass::' prefix "$HOME/work/pass"
19 workpass() {
20   PASSWORD_STORE_DIR=$HOME/work/pass pass $@
21 }
22 ```