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 (4), fixes #619

fixed $uname_s typo
This commit is contained in:
Gregory Pakosz 2023-01-24 08:05:50 +01:00
parent de1031a7d4
commit 12f96dac7c

View file

@ -692,7 +692,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# _apply_tmux_256color() {
# # when tmux-256color is available, use it
# # on macOS though, make sure to use /usr/bin/infocmp to probe if it's availalbe system wide
# case "$uname_s" in
# case "$_uname_s" in
# *Darwin*)
# if /usr/bin/infocmp -x tmux-256color > /dev/null 2>&1; then
# tmux set -g default-terminal 'tmux-256color'