summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-26 00:10:17 +0300
committerPaul Buetow <paul@buetow.org>2025-06-26 00:10:17 +0300
commitbfd44998d3ab14e5f240dad6a52dd89a94659fbc (patch)
treec168fd79b14feb3ad5fa91e3c068f6dcba71e01f
parentc53a8c94d012db78ceab7d70698e3ae98f4d2968 (diff)
fix
-rw-r--r--integrations/fish-shell/functions/timr_prompt.fish10
1 files 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