From b0db6ff60207619f0b51d797eb4def8aa17265a0 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Tue, 4 Jun 2024 12:33:30 +0100 Subject: [PATCH] fix: update TMUX configuration Ensure that TMUX uses the default term of the terminal emulator in use. --- config/tmux/tmux.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 369b139..d73dba7 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -1,5 +1,6 @@ -set-option -g default-terminal "tmux-256color" -set-option -g default-shell /bin/bash +set-option -g default-terminal "$TERM" +set-option -ag terminal-overrides ",$TERM:Tc" +set-option -g default-shell /usr/bin/bash set-option -g mouse off set-window-option -g status-keys vi @@ -33,7 +34,7 @@ set -sg escape-time 10 # Enable focus events for the autoread feature in neovim set-option -g focus-events on -# Create new panes or windows with the current working directory +# Create new spilts or windows with the current working directory bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}"