mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Fix the DTerm tput error.
This commit is contained in:
parent
dc17babcd2
commit
3f67c3de7c
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ if which tmux &> /dev/null
|
|||
local zsh_tmux_plugin_path="$(cd "$(dirname "$0")" && pwd)"
|
||||
|
||||
# Determine if the terminal supports 256 colors
|
||||
if [[ `tput colors` == "256" ]]
|
||||
if [[ `tty -s && tput colors` == "256" ]]
|
||||
then
|
||||
export ZSH_TMUX_TERM=$ZSH_TMUX_FIXTERM_WITH_256COLOR
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue