diff options
| -rw-r--r-- | dotfiles/fish/conf.d/supersync.fish | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dotfiles/fish/conf.d/supersync.fish b/dotfiles/fish/conf.d/supersync.fish index 756ab6a..5370552 100644 --- a/dotfiles/fish/conf.d/supersync.fish +++ b/dotfiles/fish/conf.d/supersync.fish @@ -75,8 +75,6 @@ function supersync::gitsyncer return end - echo $now >$enable_file - set last_run (cat $enable_file) if test (math $now - $last_run) -lt $weekly_interval return @@ -86,7 +84,7 @@ function supersync::gitsyncer ~/go/bin/gitsyncer sync bidirectional && ~/go/bin/gitsyncer showcase end if test $status -eq 0 - date +%s >$enable_file + echo $now >$enable_file end end |
