From d97259fc6a018a32de22f353532fd90748af741f Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.uk> Date: Wed, 20 Dec 2023 00:55:07 +0000 Subject: [PATCH] Fix terminal colours within tmux --- CHANGELOG.md | 6 ++++++ system/shared/modules/tmux.nix | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53057da4..d68ac1aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), but adapt Instead of grouping changes by tag, they are grouped by the date they are released. +## 19th December 2023 + +### Fixed + +* Fix terminal colours within tmux. + ## 18th December 2023 ### Added diff --git a/system/shared/modules/tmux.nix b/system/shared/modules/tmux.nix index 8369a699..55e8b2f6 100644 --- a/system/shared/modules/tmux.nix +++ b/system/shared/modules/tmux.nix @@ -17,7 +17,7 @@ bind-key -n C-l select-pane -R set-option -g status-keys "emacs" - set-option -ga terminal-overrides ",*256col*:alacritty" + set-option -sa terminal-features "''${TERM}:RGB" bind-key h split-window -v -c "#{pane_current_path}" bind-key v split-window -h -c "#{pane_current_path}"