Skip to content

[Bug]: Text disappears while typing $ #969

@tausiq2003

Description

@tausiq2003

Description: After enabling the zsh-syntax-highlighting and add it to .zshrc and source it, in command line after typing $ followed by any command, the text disappears.

Steps to reproduce:

  1. Install zsh-syntax-highlighting, assuming you have zsh.
  2. Add it to .zshrc, change
-  plugins=(git)
+ plugins=(git zsh-syntax-highlighting)
  1. source it, source ~/.zshrc
  2. Now type anything after typing $, text disappears.

How it should behave:

  • Text shouldn't disappear.

Screen Recording:
https://asciinema.org/a/To40K2TpYKoexGYEB8daq6BYt

Terminal: alacritty
zsh version: 5.9
OS: NixOS and Docker(ubuntu)
Output of echo "$OSTYPE | $VENDOR | $MACHTYPE | $CPUTYPE | $(uname -m -p)": linux-gnu | pc | x86_64 | x86_64 | x86_64 x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions