xo / usql

Universal command-line interface for SQL databases
MIT License
8.82k stars 346 forks source link

Support for NO_COLOR env variable #416

Closed mil closed 1 year ago

mil commented 1 year ago

Would be nice to support the NO_COLOR env variable. Would a patch for this be accepted?

Currently the variable SYNTAX_HL can be set to false as \set SYNTAX_HL false upon entering usql; but would be nice to have the NO_COLOR env variable set and respected.

https://no-color.org/

kenshaw commented 1 year ago

Yeah, sure this would be fine. I'll add it when I have a chance.

mil commented 1 year ago

@kenshaw thanks!