mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-25 09:53:04 +01:00
* feat(bws): add completion plugin * feat(bitwarden): unify bw and bws completions
17 lines
555 B
Markdown
17 lines
555 B
Markdown
# 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`.
|