14 lines
315 B
Bash
Executable File
14 lines
315 B
Bash
Executable File
#!/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
|