feat(bitwarden): add completions for bw and bws (#14261)

* feat(bws): add completion plugin

* feat(bitwarden): unify bw and bws completions
This commit is contained in:
Rasmus Skovgaard Lauritsen authored and GitHub committed 2026-11-23 15:56:41 -08:00
1 parent 87aa1a9b89
commit e35c9b4b67
2 files changed
+61

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Bitwarden plugin
This plugin adds Zsh completions for whichever Bitwarden CLIs are installed:
- [Bitwarden CLI (`bw`)](https://bitwarden.com/help/cli/)
- [Bitwarden Secrets Manager CLI (`bws`)](https://bitwarden.com/help/secrets-manager-cli/)
To enable it, add `bitwarden` to the plugins array in your `.zshrc`:
```zsh
plugins=(... bitwarden)
```
Each installed CLI generates and refreshes its own completion cache in the
background when the plugin loads. The cache files are
`$ZSH_CACHE_DIR/completions/_bw` and `$ZSH_CACHE_DIR/completions/_bws`.