Only source the file if tmux is running
This commit is contained in:
1 parent
72d575c679
commit
71b553a9aa
1 file changed
+4
-1
@@ -3,4 +3,7 @@
|
|||||||
# Overwrite the user tmux config with the Omarchy default and reload tmux.
|
# Overwrite the user tmux config with the Omarchy default and reload tmux.
|
||||||
|
|
||||||
omarchy-refresh-config tmux/tmux.conf
|
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
|
||||||
Reference in new issue
Block a user