mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-01 18:23:15 +03:00
3787c725f7
* Add Terraform item * Do not show default workspace in Terraform prompt * Add terraform to tide_right_prompt_items * Add terraform to _tide_remove_unusable_items * Fix test, use read, format Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
7 lines
221 B
Fish
7 lines
221 B
Fish
function _tide_item_terraform
|
|
if test -d .terraform
|
|
terraform workspace show | read -l workspace
|
|
test $workspace != default && _tide_print_item terraform $tide_terraform_icon' ' $workspace
|
|
end
|
|
end
|