summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-11 09:17:19 +0300
committerPaul Buetow <paul@buetow.org>2026-06-11 09:17:19 +0300
commitc09763944f6707495ef4ed3f2e60fbb7db6ee50c (patch)
tree16ace39cc2e4893d82f6cf2c521971907d26d200
parent070dce4960967c51b9dac7e32682248288e6c0cc (diff)
parent37fecc225b20128c0960e9842d90f6766e4e69ad (diff)
Merge branch 'master' of ssh://r0:30022/repos/dotfiles
-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