zsh-users / zsh-syntax-highlighting

Fish shell like syntax highlighting for Zsh.
github.com/zsh-users/zsh-syntax-highlighting
BSD 3-Clause "New" or "Revised" License
19.55k stars 1.32k forks source link

The prompt color has changed before I complete it #862

Closed jiangtao69039 closed 2 years ago

jiangtao69039 commented 2 years ago

I didn't press the right arrow button,but the color has changed. how can i resolve this problem?

1 2

danielshahaf commented 2 years ago

Please post the output of typeset -p ZSH_VERSION ZSH_PATCHLEVEL ZSH_HIGHLIGHT_REVISION ZSH_HIGHLIGHT_VERSION. (Do not upload a screenshot; copy-paste it as text, so we can copy-paste the values on our side.)

Pcholken commented 2 years ago

+1 typeset ZSH_VERSION=5.8.1 typeset ZSH_PATCHLEVEL=zsh-5.8.1-0-g1a490c7 typeset ZSH_HIGHLIGHT_REVISION=HEAD typeset ZSH_HIGHLIGHT_VERSION=0.8.0-alpha2-dev

jiangtao69039 commented 2 years ago

Please post the output of typeset -p ZSH_VERSION ZSH_PATCHLEVEL ZSH_HIGHLIGHT_REVISION ZSH_HIGHLIGHT_VERSION. (Do not upload a screenshot; copy-paste it as text, so we can copy-paste the values on our side.)

i've resolved by update zsh-syntax-highlighting plugin.

jiangtao69039 commented 2 years ago

+1 typeset ZSH_VERSION=5.8.1 typeset ZSH_PATCHLEVEL=zsh-5.8.1-0-g1a490c7 typeset ZSH_HIGHLIGHT_REVISION=HEAD typeset ZSH_HIGHLIGHT_VERSION=0.8.0-alpha2-dev

i've resolved by this command:

cd ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git pull
danielshahaf commented 2 years ago

I thought that might be the case :-)

Duplicate of #857.

danielshahaf commented 2 years ago

@jiangtao69039 For future reference, posting the same question verbatim to multiple projects in parallel is considered impolite since it duplicates the supporters' efforts. It's best avoided, or failing that, the various tickets should link to each other to prevent duplication of effort.