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:
parent
12f96dac7c
commit
537b276d74
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue