Fixed terminal true-color

This commit is contained in:
Tim Schubert 2022-01-30 13:19:40 +01:00
parent 2ab386ce5c
commit dfe9de1d0f
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
4 changed files with 8 additions and 2 deletions

View file

@ -10,13 +10,14 @@ in
config = mkIf cfg.enable {
programs.tmux = {
enable = true;
terminal = "xterm-256color";
terminal = "tmux-256color";
extraConfig = ''
setw -g mode-keys vi
set -g mouse on
set -g set-clipboard external
set -g set-titles on
set -g status on
set -ga terminal-overrides ',*256col*:Tc'
set-option -g status-interval 5
set-option -g automatic-rename on
set-option -g automatic-rename-format '#{b:pane_current_path}'