dotfiles/files/fish/functions/_tide_item_terraform.fish

7 lines
240 B
Fish
Raw Normal View History

2023-02-23 12:47:06 +00: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