From c6e59a3312454a3e0d81ba4d1f7463dc22fbebbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89douard=20Lopez?= Date: Thu, 25 Jan 2024 16:18:43 +0100 Subject: [PATCH] fix(nix): correct symbol variable name --- conf.d/pure.fish | 2 +- tests/_pure.test.fish | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf.d/pure.fish b/conf.d/pure.fish index f01319d1..9fda179a 100644 --- a/conf.d/pure.fish +++ b/conf.d/pure.fish @@ -52,7 +52,7 @@ _pure_set_default pure_color_system_time pure_color_mute _pure_set_default pure_enable_nixdevshell false _pure_set_default pure_symbol_nixdevshell_prefix "❄️" # otherwise nerdfonts: '󱄅' or '' _pure_set_default pure_color_nixdevshell_prefix pure_color_info -_pure_set_default pure_color_nixdevshell_status pure_color_mute +_pure_set_default pure_color_nixdevshell_symbol pure_color_mute # env for Python _pure_set_default pure_enable_virtualenv true diff --git a/tests/_pure.test.fish b/tests/_pure.test.fish index e00c36b7..7b3aa1f0 100644 --- a/tests/_pure.test.fish +++ b/tests/_pure.test.fish @@ -371,8 +371,8 @@ before_all source (status dirname)/../conf.d/pure.fish echo $pure_color_nixdevshell_prefix ) = pure_color_info -@test "configure: pure_color_nixdevshell_status" ( - set --erase pure_color_nixdevshell_status +@test "configure: pure_color_nixdevshell_symbol" ( + set --erase pure_color_nixdevshell_symbol source (status dirname)/../conf.d/pure.fish - echo $pure_color_nixdevshell_status + echo $pure_color_nixdevshell_symbol ) = pure_color_mute