my xfce4 dotfiles
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

3 years ago
  1. # pass
  2. This plugin provides completion for the [pass](https://www.passwordstore.org/) password manager.
  3. To use it, add `pass` to the plugins array in your zshrc file.
  4. ```
  5. plugins=(... pass)
  6. ```
  7. ## Configuration
  8. ### Multiple repositories
  9. If you use multiple repositories, you can configure completion like this:
  10. ```zsh
  11. compdef _pass workpass
  12. zstyle ':completion::complete:workpass::' prefix "$HOME/work/pass"
  13. workpass() {
  14. PASSWORD_STORE_DIR=$HOME/work/pass pass $@
  15. }
  16. ```