From 98e88723aee273fcb5592df56712fa01e5b4a432 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 23 Jul 2026 17:21:31 -0700 Subject: [PATCH] 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) --- bin/omarchy-restart-tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-restart-tmux b/bin/omarchy-restart-tmux index 539d5176..3a327bc3 100755 --- a/bin/omarchy-restart-tmux +++ b/bin/omarchy-restart-tmux @@ -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