Skip to content

Commit

Permalink
Add terraform icon
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanCosman committed Dec 24, 2023
1 parent 1759ebb commit 5de481d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/tide/configure/icons.fish
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tide_rustc_icon 
tide_shlvl_icon 
tide_status_icon ✔
tide_status_icon_failure ✘
tide_terraform_icon
tide_terraform_icon 󱁢
tide_toolbox_icon 
tide_vi_mode_icon_default D
tide_vi_mode_icon_insert I
Expand Down
4 changes: 3 additions & 1 deletion tests/_tide_item_terraform.test.fish
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ function _terraform
_tide_decolor (_tide_item_terraform)
end

set -lx tide_terraform_icon 󱁢

set -l terraformDir (mktemp -d)
cd $terraformDir

Expand All @@ -15,6 +17,6 @@ mkdir .terraform
_terraform # CHECK:

mock terraform "workspace show" "echo test"
_terraform # CHECK: test
_terraform # CHECK: 󱁢 test

command rm -r $terraformDir

0 comments on commit 5de481d

Please sign in to comment.