Files
omarchycn/bin/omarchy-restart-tmux
T
David Heinemeier HanssonandClaude Opus 4.8 98e88723ae 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>
2026-07-23 17:40:47 -07:00

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