From c53a8c94d012db78ceab7d70698e3ae98f4d2968 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 25 Jun 2025 23:35:34 +0300 Subject: feat: Add fish shell integration --- cmd/timr/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/timr/main.go b/cmd/timr/main.go index 534275b..0625070 100644 --- a/cmd/timr/main.go +++ b/cmd/timr/main.go @@ -27,6 +27,8 @@ func main() { output, err = timer.GetStatus() case "reset": output, err = timer.ResetTimer() + case "prompt": + output, err = timer.GetPromptStatus() case "live": p := tea.NewProgram(live.NewModel()) if err := p.Start(); err != nil { @@ -47,5 +49,5 @@ func main() { } func printUsage() { - fmt.Println("Usage: timr ") + fmt.Println("Usage: timr ") } -- cgit v1.2.3