summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fish/conf.d/supersync.fish9
-rw-r--r--fish/conf.d/update.fish2
2 files changed, 9 insertions, 2 deletions
diff --git a/fish/conf.d/supersync.fish b/fish/conf.d/supersync.fish
index 5dc32e7..c99a506 100644
--- a/fish/conf.d/supersync.fish
+++ b/fish/conf.d/supersync.fish
@@ -107,7 +107,14 @@ function supersync
supersync::prompts
if test -f ~/.gos_enable
- gos
+ if test -f ~/go/bin/gos
+ # Go social media tool
+ ~/go/bin/gos
+ end
+ if test -f ~/go/bin/snonux
+ # snonux microblogger tool
+ ~/go/bin/snonux --input ~/.gosdir/snonux/inbox/ --output ~/.gosdir/snonux/dist/ --sync
+ end
end
supersync::gitsyncer
diff --git a/fish/conf.d/update.fish b/fish/conf.d/update.fish
index 993a61a..ac85e0d 100644
--- a/fish/conf.d/update.fish
+++ b/fish/conf.d/update.fish
@@ -51,7 +51,7 @@ function update::tools
# go install github.com/aandrew-me/tgpt/v2@latest &
# set -a pids $last_pid
- for prog in gos gitsyncer totalrecall goprecords
+ for prog in gitsyncer totalrecall goprecords gos snonux
echo "Installing/updating $prog from codeberg.org/snonux/$prog/cmd/$prog@latest"
go install codeberg.org/snonux/$prog/cmd/$prog@latest
end