Skip to content

Commit

Permalink
make sure to use /usr/bin/infocmp to probe if tmux-256color is availa…
Browse files Browse the repository at this point in the history
…ble system wide (4), fixes gpakosz#619

fixed $uname_s typo
  • Loading branch information
gpakosz committed Jan 25, 2023
1 parent de1031a commit 12f96da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 12f96da

Please sign in to comment.