Skip to content

Commit

Permalink
Minor edits to terraform item
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanCosman committed Dec 24, 2023
1 parent 9bd47e8 commit 1759ebb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions functions/_tide_item_terraform.fish
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
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
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

0 comments on commit 1759ebb

Please sign in to comment.