dotfiles/fish/functions/_tide_item_terraform.fish

7 lines
240 B
Fish
Raw Normal View History

2023-10-08 22:26:07 -05:00
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