diff options
Diffstat (limited to '.oh-my-zsh/plugins/terraform/terraform.plugin.zsh')
-rw-r--r-- | .oh-my-zsh/plugins/terraform/terraform.plugin.zsh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/.oh-my-zsh/plugins/terraform/terraform.plugin.zsh b/.oh-my-zsh/plugins/terraform/terraform.plugin.zsh deleted file mode 100644 index d727c1e..0000000 --- a/.oh-my-zsh/plugins/terraform/terraform.plugin.zsh +++ /dev/null @@ -1,9 +0,0 @@ -function tf_prompt_info() { - # dont show 'default' workspace in home dir - [[ "$PWD" == ~ ]] && return - # check if in terraform dir - if [ -d .terraform ]; then - workspace=$(terraform workspace show 2> /dev/null) || return - echo "[${workspace}]" - fi -} |