1
0
Fork 0
mirror of synced 2024-11-17 23:15:35 -05:00

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
This commit is contained in:
Gregory Pakosz 2023-01-09 10:35:32 +01:00
parent 72f09fae75
commit 2cf4d9a104

View file

@ -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