This commit is contained in:
Roman Perepelitsa 2021-08-17 19:41:15 +02:00
parent ce7d4a4cd3
commit e7629449c6

View file

@ -4888,9 +4888,6 @@ _p9k_prompt_terraform_init() {
}
function prompt_terraform_version() {
if [[ $_POWERLEVEL9K_TERRAFORM_VERSION_ALWAYS ]]; then
_p9k_upglob "*.tf" && return 1
fi
_p9k_cached_cmd 0 '' terraform --version || return
local v=${_p9k__ret#Terraform v}
(( $#v < $#_p9k__ret )) || return