summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rexfile2
-rw-r--r--tmux/tmux.rocky.conf10
2 files changed, 12 insertions, 0 deletions
diff --git a/Rexfile b/Rexfile
index 4a54e7c..8cfc771 100644
--- a/Rexfile
+++ b/Rexfile
@@ -502,6 +502,8 @@ task 'pkg_rocky', sub {
tig
tmux
vim-enhanced
+ helix
+ helix-themes
git
/;
diff --git a/tmux/tmux.rocky.conf b/tmux/tmux.rocky.conf
index 2f909c9..84009cf 100644
--- a/tmux/tmux.rocky.conf
+++ b/tmux/tmux.rocky.conf
@@ -34,6 +34,16 @@ 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'
+
+# Pass COLORTERM through from outer SSH session so helix knows truecolor is available
+set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_LAUNCHER SSH_AUTH_SOCK SSH_CONNECTION SSH_TTY WINDOWID XAUTHORITY TERM COLORTERM'
+
# ── Visual bell ─────────────────────────────────────────────────────────
set -g visual-bell off
set -g bell-action any