-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Hello,
This is a rather minor issue but figured I'd report it anyway.
I have this code:
$.verbose = true;
await $`sass --style=compressed src/static/bootstrap.scss > dist/static/bootstrap-v5.3.3.min.css`;And it is displayed like this:
The green color on the output redirection part (> dist/static/bootstrap-v5.3.3.min.css) does not cover the whole path, breaking at the - character.
I expect the whole path to have the same color. If I remove the - I get this:
If I change my sass command to the imaginary sass-compiler command, then we can see that it too looks broken, and the whole sass-compiler command should be green:
I would also be in favor of changing the color when there's any kind of output redirection. It seems like it is green just because it is the first word after a special keyword, but I think it would be appropriate if it had its own dedicated color. If this is implemented then care should be taken so it also works with other output redirection (2>, &>), and also input (<).
Thanks!
Tested with zx v8.2.4 and v8.4.0.


