mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-30 20:33:14 +01:00
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:
1 parent
87aa1a9b89
commit
e35c9b4b67
2 files changed
+61
No files matched your search
@@ -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`.
|
||||
Reference in new issue
Block a user