From 2cf4d9a10415f58612c1a387fbeb9c0efe79d751 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Mon, 9 Jan 2023 10:35:32 +0100 Subject: [PATCH] make sure to use /usr/bin/infocmp to probe if tmux-256color is available system wide on macOS, here are the steps to install tmux-256color system wide $ $(brew --prefix ncurses)/bin/infocmp tmux-256color > /tmp/tmux-256color.info $ /usr/bin/tic -x /tmp/tmux-256color.info which will install tmux-256color in ~/.terminfo/74/tmux-256color resolves #530, resolves #592, resolves #601 --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 2ccad39..0971fef 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -10,7 +10,7 @@ # -- general ------------------------------------------------------------------- set -g default-terminal "screen-256color" -if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"' +if '/usr/bin/infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"' setw -g xterm-keys on set -s escape-time 10 # faster command sequences