diff options
authorbrian m. carlson <>2019-10-27 17:43:03 +0000
committerbrian m. carlson <>2019-10-27 17:43:03 +0000
commitce74fe6d7e758e6e9417d21549734cf9e4a34bf0 (patch)
parent3807264bffd07845f2b14844eae66ff2dd5aa711 (diff)
tmux.conf: switch back to using screen* for TERM
The tmux-256color terminal type is not present on some older systems, like Debian jessie. Trying to use it there makes ncurses-using programs think the terminal is dumb, preventing most things from working. Since we know the screen-256color terminal types work everywhere and those are the tmux default, remove the configuration that enabled the tmux-256color type. Signed-off-by: brian m. carlson <>
1 files changed, 0 insertions, 2 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index d25bdcd..aa829a5 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -40,5 +40,3 @@ if-shell 'test "$(uname -s)" = Darwin' "bind-key -T copy-mode-vi y send -X copy-
if-shell 'test "$(uname -s)" = Darwin' "bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe 'pbcopy'"
if-shell 'test "$(uname -s)" = Darwin' "bind-key -T copy-mode-vi C-c send -X copy-pipe 'pbcopy'"
if-shell 'test "$(uname -s)" = Darwin' "bind-key -T root MouseDown2Pane run-shell 'pbpaste | tmux load-buffer - && tmux paste-buffer'"
-# General configuration.
-if-shell 'infocmp tmux-256color >/dev/null 2>&1' "set -g default-terminal tmux-256color"