tide/functions/_tide_item_terraform.fish
2022-08-06 18:19:13 -04:00

7 lines
240 B
Fish

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
end