Don't print colors when $TERM is 'dumb' or unset (fixes #2260)

This commit is contained in:
Vidar Holen
2021-07-25 14:41:49 -07:00
parent 0d58337cdd
commit 364c33395e
2 changed files with 13 additions and 9 deletions

View File

@@ -6,6 +6,7 @@
### Fixed
- SC2102 about repetitions in ranges no longer triggers on [[ -v arr[xx] ]]
- SC2290: Warn about misused = in declare & co, which were not caught by SC2270+
- The flag --color=auto no longer outputs color when TERM is "dumb" or unset
### Changed
- SC2048: Warning about $\* now also applies to ${array[\*]}