Only source the file if tmux is running

This commit is contained in:
David Heinemeier Hansson
2026-02-21 21:57:33 +01:00
parent 72d575c679
commit 71b553a9aa
+4 -1
View File
@@ -3,4 +3,7 @@
# Overwrite the user tmux config with the Omarchy default and reload tmux.
omarchy-refresh-config tmux/tmux.conf
tmux source-file ~/.config/tmux/tmux.conf
if pgrep -x tmux; then
tmux source-file ~/.config/tmux/tmux.conf
fi