diff --git a/runcoms/zshrc b/runcoms/zshrc index 62d93ca..df06ab3 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -42,6 +42,11 @@ if [ -e /usr/local/opt/fzf/shell/completion.zsh ]; then source /usr/local/opt/fzf/shell/completion.zsh fi +if [ -e /usr/local/bin/terraform ]; then + autoload -U +X bashcompinit && bashcompinit + complete -o nospace -C /usr/local/bin/terraform terraform +fi + if [ $commands[fzf] ]; then export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border' export FZF_DEFAULT_COMMAND="rg --files" @@ -79,3 +84,4 @@ if [ $commands[fzf] ]; then fi [[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local" +