Carlo Sala 01433503c2
fix(rbw): reset clipboard in rbwpw only in the last invocation (#13185)
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>
2025-06-25 21:33:17 +02:00
..

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.