diff options
| author | Paul Buetow <paul@buetow.org> | 2025-12-22 09:33:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-12-22 09:33:46 +0200 |
| commit | d1398b8cd97b30167ee6a4ef3be3ff5ba0b0ffff (patch) | |
| tree | ffa9af3fce9dc466f2442498ec2a967b7457eaf8 | |
| parent | c5e83cbf35c35674f7197b84b6f88ae39998d113 (diff) | |
Update
| -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 |
