From bfd44998d3ab14e5f240dad6a52dd89a94659fbc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 26 Jun 2025 00:10:17 +0300 Subject: fix --- integrations/fish-shell/functions/timr_prompt.fish | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/integrations/fish-shell/functions/timr_prompt.fish b/integrations/fish-shell/functions/timr_prompt.fish index fe17bf1..774861c 100644 --- a/integrations/fish-shell/functions/timr_prompt.fish +++ b/integrations/fish-shell/functions/timr_prompt.fish @@ -1,9 +1,9 @@ -function timr_prompt -d "Display timr status in the prompt" +function timr_prompt -d "Display timr timr_status in the prompt" if command -v timr >/dev/null - set -l status (timr prompt) - if test -n "$status" - set -l icon (string sub -l 1 -- "$status") - set -l time (string sub -s 2 -- "$status") + set -l timr_status (timr prompt) + if test -n "$timr_status" + set -l icon (string sub -l 1 -- "$timr_status") + set -l time (string sub -s 2 -- "$timr_status") if test "$icon" = "▶" set_color green else -- cgit v1.2.3