Reload tmux config when the server is running

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>
This commit is contained in:
David Heinemeier Hansson
2026-07-23 17:40:47 -07:00
co-authored by Claude Opus 4.8
parent 6d7268eb65
commit 98e88723ae
+1 -1
View File
@@ -2,6 +2,6 @@
# omarchy:summary=Restart tmux if running with the latest configuration
if pgrep -x tmux; then
if tmux has-session 2>/dev/null; then
tmux source-file ~/.config/tmux/tmux.conf
fi