From a99a4466e8f27c43037514b6f5a0c3b3b00229dd Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 10 Feb 2016 12:52:09 +0100 Subject: fix timer function --- config/fish/functions/timer.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/fish/functions/timer.fish b/config/fish/functions/timer.fish index f6f930b..a2f70db 100644 --- a/config/fish/functions/timer.fish +++ b/config/fish/functions/timer.fish @@ -25,7 +25,7 @@ function timer for i in (seq 1 $time) sleep 1m - echo (string replace -r '0m left' ready! (echo (math $argv[1] - $i)m left)) + echo (string replace -r '0m left' ready! (echo (math $time - $i)m left)) end if not set -q quiet while true -- cgit v1.2.3