diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2016-02-10 12:52:09 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2016-02-10 12:52:09 +0100 |
| commit | a99a4466e8f27c43037514b6f5a0c3b3b00229dd (patch) | |
| tree | fa2502160117bee5644399ddc3c68057a38ccbb5 /config | |
| parent | 17d53a39a4d09777ae2c8e3ff9a5c96b587ccfd9 (diff) | |
| download | dotfiles-a99a4466e8f27c43037514b6f5a0c3b3b00229dd.tar.gz dotfiles-a99a4466e8f27c43037514b6f5a0c3b3b00229dd.zip | |
fix timer function
Diffstat (limited to 'config')
| -rw-r--r-- | config/fish/functions/timer.fish | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
