From 9d5840ad9367e297f642a01ba6d0c51d63700fd7 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 26 Oct 2023 00:16:44 -0500 Subject: [PATCH] fix: tmux ranger img previews --- modules/home/cli-apps/tmux/config/general.tmux | 4 ++++ modules/home/cli-apps/tmux/default.nix | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/home/cli-apps/tmux/config/general.tmux b/modules/home/cli-apps/tmux/config/general.tmux index 87ee33d5f..d23917adb 100644 --- a/modules/home/cli-apps/tmux/config/general.tmux +++ b/modules/home/cli-apps/tmux/config/general.tmux @@ -8,3 +8,7 @@ bind '%' split-window -h -c '#{pane_current_path}' set-option -sa terminal-features ",*xterm*:RGB" set -ga terminal-overrides ",xterm-kitty:Tc" + +set -g allow-passthrough on +set -ga update-environment TERM +set -ga update-environment TERM_PROGRAM diff --git a/modules/home/cli-apps/tmux/default.nix b/modules/home/cli-apps/tmux/default.nix index 50de2bbcc..8efad31fb 100644 --- a/modules/home/cli-apps/tmux/default.nix +++ b/modules/home/cli-apps/tmux/default.nix @@ -51,7 +51,7 @@ in newSession = true; prefix = "C-a"; sensibleOnTop = true; - terminal = "xterm-kitty"; + terminal = "tmux-256color"; extraConfig = builtins.concatStringsSep "\n" (builtins.map lib.strings.fileContents configFiles);