From bb95036d44b565dc69e24b3ddc8075ab87ef2a24 Mon Sep 17 00:00:00 2001 From: inkch Date: Sun, 14 Jan 2024 20:28:02 +0900 Subject: [PATCH] tmux: use screen-256color only for desktop and laptop --- dot_config/tmux/tmux.conf.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/tmux/tmux.conf.tmpl b/dot_config/tmux/tmux.conf.tmpl index d862e17..e146767 100644 --- a/dot_config/tmux/tmux.conf.tmpl +++ b/dot_config/tmux/tmux.conf.tmpl @@ -1,5 +1,9 @@ # 256 color +{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz") }} set -g default-terminal "screen-256color" +{{- else }} +set -g default-terminal "tmux-256color" +{{- end }} set -ga terminal-overrides ',xterm-256color:RGB' # increase limit of "scrollback buffer"