From af120ab348f2e1a5a39dec035ed9dcf84189a64e Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan <biswa@surgot.in> Date: Mon, 3 Oct 2022 21:42:20 +0530 Subject: dotfiles --- zsh/oh-my-zsh/plugins/pass/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 zsh/oh-my-zsh/plugins/pass/README.md (limited to 'zsh/oh-my-zsh/plugins/pass/README.md') diff --git a/zsh/oh-my-zsh/plugins/pass/README.md b/zsh/oh-my-zsh/plugins/pass/README.md new file mode 100644 index 0000000..2b07049 --- /dev/null +++ b/zsh/oh-my-zsh/plugins/pass/README.md @@ -0,0 +1,22 @@ +# 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 $@ +} +``` -- cgit v1.2.3-59-g8ed1b