Skip to content

Commit

Permalink
tmux: set default-terminal to TERM
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Aug 13, 2024
1 parent 94ba2d5 commit da54a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skel/.config/tmux/tmux.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
setw -g aggressive-resize on
setw -g automatic-rename
set -g base-index 1
set -g default-terminal "tmux-256color"
set -g default-terminal "${TERM}"
set -s escape-time 0
set -g history-limit 10000
setw -g mode-keys vi
Expand Down Expand Up @@ -53,5 +53,5 @@ bind-key C-d \
"run-shell \"tmux choose-session \\\"switch-client -t '%%'; kill-session -t '$(tmux display -p '#S')'\\\"\""

if-shell '[[ -n "${TMUX_THEME_PATH}" ]] && [[ -f "${TMUX_THEME_PATH}" ]]' {
source ${TMUX_THEME_PATH}
source "${TMUX_THEME_PATH}"
}

0 comments on commit da54a37

Please sign in to comment.