pgrep -x tmux never matched, since the processes are named "tmux: server" and "tmux: client", so config reloads were silently skipped. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8 lines
171 B
Bash
Executable File
8 lines
171 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Restart tmux if running with the latest configuration
|
|
|
|
if tmux has-session 2>/dev/null; then
|
|
tmux source-file ~/.config/tmux/tmux.conf
|
|
fi
|