diff --git a/zsh/.zshrc b/zsh/.zshrc index 72e417c..e3313cc 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -272,14 +272,3 @@ PROMPT=$PROMPT'%{$(vterm_prompt_end)%}' type navi > /dev/null && eval "$(navi widget zsh)" eval "$(rbenv init - zsh)" - -tf-init-recursive() { - here=$(pwd) - dirs=$(find . -type f -name '*.tf' -exec dirname {} \; | sort | uniq | xargs readlink --canonicalize) - echo $dirs | while read -r dir; do - echo "Initializing Terraform in $dir" - cd $dir - terraform init || break - done - cd $here -}