summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-09 22:24:26 +0300
committerPaul Buetow <paul@buetow.org>2026-06-09 22:24:26 +0300
commite4509bbcfee19e6c230ce0e8e6bdbfd7376cce65 (patch)
treee8a330cc368be73afce298f1e2390c59ae4b691b
parent66816aa811e60f15894e3739a6ba3e4df7c58d91 (diff)
tmux.rocky.conf: add default-terminal tmux-256color and terminal-overrides for truecolor
-rw-r--r--tmux/tmux.rocky.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmux/tmux.rocky.conf b/tmux/tmux.rocky.conf
index 2f909c9..cf4162b 100644
--- a/tmux/tmux.rocky.conf
+++ b/tmux/tmux.rocky.conf
@@ -34,6 +34,13 @@ set -g pane-border-format '#[fg=colour208] #{pane_index} #[fg=brightred]#{pane_t
set -g status-right '#[fg=colour8]| %H:%M '
set -g status-right-length 30
+# ── Terminal ─────────────────────────────────────────────────────────────
+# TERM inside tmux — must advertise 256 colors so helix/fzf/etc work
+set -g default-terminal 'tmux-256color'
+
+# Tell tmux that outer terminals supporting truecolor should pass it through
+set -ga terminal-overrides ',xterm-256color:Tc,*-256color:Tc'
+
# ── Visual bell ─────────────────────────────────────────────────────────
set -g visual-bell off
set -g bell-action any