From b872fd500c67ba19913c64c0c071be8829bedc01 Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Sat, 3 Oct 2026 07:26:40 +0300 Subject: tmux: machine-local overrides in ~/.tmux.conf.local tmux was one of the configs a machine could not adjust without editing the shared file. ~/.tmux.conf.local is now loaded last, so it wins over everything, colours included, and is skipped silently where there is none. Not under ~/.config/tmux, which links into this repo. The filed version loaded it with `if-shell -b`, which runs in the background and applies the file after the rest of the config, in no fixed order; `source-file -q` does the same job in order, without a shell. -q checked on tmux 3.5a and 3.4. From change request 379803. --- config/tmux.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config') diff --git a/config/tmux.conf b/config/tmux.conf index 5cb6ce0..913a968 100644 --- a/config/tmux.conf +++ b/config/tmux.conf @@ -155,3 +155,10 @@ set -g allow-passthrough on # See: https://github.com/ghostty-org/ghostty/issues/7997 set -g extended-keys off +# Machine-local overrides, where a machine has any: ~/.tmux.conf.local, a real +# file in no repo, like ~/.localprofile for the shell. Not under ~/.config/tmux, +# which is a link into this repo. Last, so it wins over everything above, +# colours included; -q skips it silently where there is none. source-file +# rather than `if-shell -b`, which would apply it in the background, after the +# rest of the config and in no fixed order. +source-file -q ~/.tmux.conf.local -- cgit v1.2.3