guix-dotfiles/home-config/fish/functions/_tide_item_terraform.fish

6 lines
215 B
Fish
Raw Normal View History

function _tide_item_terraform
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