summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/fish/conf.d/supersync.fish4
1 files changed, 3 insertions, 1 deletions
diff --git a/dotfiles/fish/conf.d/supersync.fish b/dotfiles/fish/conf.d/supersync.fish
index 37286c3..356f773 100644
--- a/dotfiles/fish/conf.d/supersync.fish
+++ b/dotfiles/fish/conf.d/supersync.fish
@@ -78,7 +78,9 @@ function supersync::gitsyncer
end
end
- ~/go/bin/gitsyncer sync bidirectional && ~/go/bin/gitsyncer showcase
+ if test -f ~/go/bin/gitsyncer
+ ~/go/bin/gitsyncer sync bidirectional && ~/go/bin/gitsyncer showcase
+ end
if test $status -eq 0
date +%s >$enable_file
end