better tmux support

This commit is contained in:
2026-03-11 19:05:12 +00:00
parent 7b5f5cf0c7
commit f67ce8545c
6 changed files with 170 additions and 15 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env sh
set -eu
log_file="$HOME/.cache/matugen-sync-tmux.log"
mkdir -p "$HOME/.cache"
{
ssh mac-attio "mkdir -p ~/.config/tmux"
scp "$HOME/.config/tmux/colors.conf" \
mac-attio:~/.config/tmux/
ssh mac-attio "tmux source-file ~/.config/tmux/tmux.conf 2>/dev/null || true"
} >>"$log_file" 2>&1