Thesola10 / zsh-comma-assistant

Supercharge your zsh with the true power of Nix!
4 stars 0 forks source link

Highlighter evaluates and assigns variables to integers before line evaluation #7

Open Thesola10 opened 1 year ago

Thesola10 commented 1 year ago

A very peculiar bug I've isolated down to the specific zsh-syntax-highlighting-compatible highlighter shipped with this addon.

Entering a line such as

THIS=that

will cause $THIS to be type-set to a number before assignment, leading to a final value of 0. Unclear if upstream zsh-syntax-highlighting might have something to do with it?