The previous behavior would reset the clipboard after 20 seconds always, even if the `rbwpw` function was called again in between. This commit fixes that behavior. Co-authored-by: Marc Cornellà <marc@mcornella.com> |
||
|---|---|---|
| .. | ||
| rbw.plugin.zsh | ||
| README.md | ||
Bitwarden (unofficial) CLI plugin
This plugin adds completion for rbw, an unofficial CLI for Bitwarden.
To use it, add rbw to the plugins array in your zshrc file:
plugins=(... rbw)
rbwpw
The rbwpw function is a wrapper around rbw. It copies the password in the
clipboard for the service you ask for and clears the clipboard 20s later.
The usage is as follows:
rbwpw <service>
This plugin does not add any aliases.