Minor edits to terraform item

This commit is contained in:
Ilan Cosman 2023-12-24 11:14:27 -08:00
parent 9bd47e8256
commit 1759ebbae0

View File

@ -1,6 +1,5 @@
function _tide_item_terraform
if path is $_tide_parent_dirs/.terraform
terraform workspace show | read -l workspace
test $workspace != default && _tide_print_item terraform $tide_terraform_icon' ' $workspace
end
path is $_tide_parent_dirs/.terraform &&
terraform workspace show | string match -v default | read -l w &&
_tide_print_item terraform $tide_terraform_icon' ' $w
end