mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
9739012193
commit
c36b2a8615
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ _build_tmux_alias "tkss" "kill-session" "-t"
|
|||
unfunction _build_tmux_alias
|
||||
|
||||
# Determine if the terminal supports at least 256 colors
|
||||
if [[ $terminfo[colors] -ge 256 ]]; then
|
||||
if (( ${+terminfo[colors]} )) && [[ $terminfo[colors] -ge 256 ]]; then
|
||||
export ZSH_TMUX_TERM=$ZSH_TMUX_FIXTERM_WITH_256COLOR
|
||||
else
|
||||
export ZSH_TMUX_TERM=$ZSH_TMUX_FIXTERM_WITHOUT_256COLOR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue