summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-12-22 09:33:46 +0200
committerPaul Buetow <paul@buetow.org>2025-12-22 09:33:46 +0200
commitd1398b8cd97b30167ee6a4ef3be3ff5ba0b0ffff (patch)
treeffa9af3fce9dc466f2442498ec2a967b7457eaf8
parentc5e83cbf35c35674f7197b84b6f88ae39998d113 (diff)
Update
-rw-r--r--dotfiles/fish/conf.d/supersync.fish4
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