mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-07-14 07:59:00 +08:00

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>
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.