You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
478 B
22 lines
478 B
# pass |
|
|
|
This plugin provides completion for the [pass](https://www.passwordstore.org/) 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: |
|
```zsh |
|
compdef _pass workpass |
|
zstyle ':completion::complete:workpass::' prefix "$HOME/work/pass" |
|
workpass() { |
|
PASSWORD_STORE_DIR=$HOME/work/pass pass $@ |
|
} |
|
```
|
|
|