From 5de481de1be77b373fe9aba1627fa5dffb19114d Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Sun, 24 Dec 2023 11:21:59 -0800 Subject: [PATCH] Add terraform icon --- functions/tide/configure/icons.fish | 2 +- tests/_tide_item_terraform.test.fish | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/functions/tide/configure/icons.fish b/functions/tide/configure/icons.fish index f6805954..70611cdf 100644 --- a/functions/tide/configure/icons.fish +++ b/functions/tide/configure/icons.fish @@ -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 diff --git a/tests/_tide_item_terraform.test.fish b/tests/_tide_item_terraform.test.fish index cfaf1dad..f889b006 100644 --- a/tests/_tide_item_terraform.test.fish +++ b/tests/_tide_item_terraform.test.fish @@ -5,6 +5,8 @@ function _terraform _tide_decolor (_tide_item_terraform) end +set -lx tide_terraform_icon 󱁢 + set -l terraformDir (mktemp -d) cd $terraformDir @@ -15,6 +17,6 @@ mkdir .terraform _terraform # CHECK: mock terraform "workspace show" "echo test" -_terraform # CHECK: test +_terraform # CHECK: 󱁢 test command rm -r $terraformDir