diff options
| -rw-r--r-- | Rexfile | 2 | ||||
| -rw-r--r-- | tmux/tmux.rocky.conf | 10 |
2 files changed, 12 insertions, 0 deletions
@@ -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 |
