After I installed zsh-autosuggestions and do export TERM=xterm-256color, git highlighting become weired, the color of first line is different from the others:
When in git lg, if I scroll up and down, the red of first line could become normal.
If I do git status one more time, the color could become normal, too.
If I disable any one of zsh-autosuggestions and export TERM=xterm-256color, the git highlighting become normal. So I think zsh-autosuggestions is the problem.
Does anybody know why?
OS + distribution: CentOS Linux release 7.5.1804 (Core) + Linux version 3.10.0-862.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018
Zsh version: 5.0.2
Plugin version:
commit ae315ded4dba10685dbbafbfa2ff3c1aefeb490d
Merge: d43c309 ff298e5
Author: Eric Freese <ericdfreese@gmail.com>
Date: Mon Jan 6 21:12:21 2020 -0700
Merge pull request #494 from zsh-users/develop
v0.6.4
Describe the bug
After I installed
zsh-autosuggestions
and doexport TERM=xterm-256color
, git highlighting become weired, the color of first line is different from the others:When in
git lg
, if I scroll up and down, the red of first line could become normal. If I dogit status
one more time, the color could become normal, too.If I disable any one of
zsh-autosuggestions
andexport TERM=xterm-256color
, the git highlighting become normal. So I thinkzsh-autosuggestions
is the problem. Does anybody know why?To Reproduce
Steps to reproduce the behavior:
Expected behavior
Color of all lines are the same.
Screenshots
Desktop
CentOS Linux release 7.5.1804 (Core)
+Linux version 3.10.0-862.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018
5.0.2
Plugin version:
Additional context