From 9204e7e3dea87906e797888523ea37df2ccb0c00 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 14 Feb 2022 14:58:51 +0100 Subject: Add vault completion when vault is installed --- .bash_profile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3