diff options
| author | Ahmed Abdelhalim <[email protected]> | 2022-02-14 14:58:51 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2022-02-14 14:58:51 +0100 |
| commit | 9204e7e3dea87906e797888523ea37df2ccb0c00 (patch) | |
| tree | c5035bc44f584ed7f303aa5e1a0f88615b9bb125 | |
| parent | c761ed0ab8c9593d709395dcab284383478adefd (diff) | |
Add vault completion when vault is installed
| -rw-r--r-- | .bash_profile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile index 99b7e06..928cc6c 100644 --- a/.bash_profile +++ b/.bash_profile @@ -90,6 +90,11 @@ if command -v thefuck 1>/dev/null 2>&1; then eval $(thefuck --alias) fi +# ==== Vault completeion +if command -v vault 1>/dev/null 2>&1; then + complete -C $(brew --prefix)/bin/vault vault +fi + # ==== Generate helm autocomplete stuff when it's not there if command -v helm 1>/dev/null 2>&1; then if [ ! -f $(brew --prefix)/etc/bash_completion.d/helm ]; then |
