mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
feat(vault): re-introduce vault plugin (#12753)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
1 parent
e636eeb696
commit
9ad764d80c
2 files changed
+16
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# Vault plugin
|
||||
|
||||
This plugin adds completion for [Vault](https://www.vaultproject.io/), the secrets and sensitive data manager.
|
||||
|
||||
To use it, add `vault` to the plugins array in your zshrc file:
|
||||
|
||||
```zsh
|
||||
plugins=(... vault)
|
||||
```
|
||||
@@ -0,0 +1,7 @@
|
||||
# Completion
|
||||
if (( ! $+commands[vault] )); then
|
||||
return
|
||||
fi
|
||||
|
||||
autoload -Uz bashcompinit && bashcompinit
|
||||
complete -o nospace -C vault vault
|
||||
Reference in new issue
Block a user