From 2ef9d583f6fd58eed081f34fd90ff053fb175ddc Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 3 Nov 2021 14:10:23 +0100 Subject: [PATCH] tmux: Enable true color support --- users/simon/modules/tmux.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/users/simon/modules/tmux.nix b/users/simon/modules/tmux.nix index 82d9853..d3cc8a4 100644 --- a/users/simon/modules/tmux.nix +++ b/users/simon/modules/tmux.nix @@ -1,7 +1,7 @@ { programs.tmux = { enable = true; - terminal = "screen-256color"; + terminal = "tmux-256color"; escapeTime = 0; aggressiveResize = true; baseIndex = 1; @@ -23,6 +23,9 @@ # disable mouse (prevents simple copying) set -g mouse off + + # true color support + set -ga terminal-overrides ",alacritty:Tc" ''; }; }