1
0
Fork 0
mirror of synced 2024-12-22 14:51:05 -05:00

make sure to use /usr/bin/infocmp to probe if tmux-256color is available system wide (5), fixes #626

bail out if default-terminal is already globally set to tmux-256color or tmux-direct
This commit is contained in:
Gregory Pakosz 2023-02-22 10:41:30 +01:00
parent 12f96dac7c
commit 537b276d74

View file

@ -690,6 +690,12 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# }
#
# _apply_tmux_256color() {
# case "$(tmux show -gv default-terminal)" in
# tmux-256color|tmux-direct)
# return
# ;;
# esac
#
# # 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