better-shell-syntax icon indicating copy to clipboard operation
better-shell-syntax copied to clipboard

File redirection is the wrong colour

Open cD1rtX3 opened this issue 2 weeks ago • 1 comments

The code with a problem is:

printf %s\\n "$1" >& 2

It looks like:

Image

It should look like:

The 2 in >& 2 should be grey, since it is a file descriptor, not lime, like an integer.

cD1rtX3 avatar Nov 22 '25 17:11 cD1rtX3

Github also has this problem. Point and laugh.

cD1rtX3 avatar Nov 22 '25 17:11 cD1rtX3