From 80f76da9813fccbb9197365f8b98225c894a9e60 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Thu, 22 Sep 2022 11:14:14 +0100
Subject: [PATCH] fix(tmux): colours

---
 home-manager/home.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/home-manager/home.nix b/home-manager/home.nix
index 04c5b306..84693592 100644
--- a/home-manager/home.nix
+++ b/home-manager/home.nix
@@ -112,6 +112,7 @@
 
   programs.tmux = {
     enable = true;
+    terminal = "tmux-256color";
 
     extraConfig = ''
       unbind C-b
@@ -125,8 +126,8 @@
       bind-key -n C-l select-pane -R
 
       set-option -g status-keys "emacs"
-      set-option -g default-terminal "xterm-256color"
       set-option -ga terminal-overrides ",*256col*:Tc"
+      set-option -g default-terminal "xterm-256color"
 
       bind-key h split-window -v  -c '#{pane_current_path}'
       bind-key v split-window -h  -c '#{pane_current_path}'