Using `gls` on macOS with `$LS_COLORS` set by `vivid` changes color of all subsequent output
I am running Apple macOS Sequoia (15.5).
I installed coreutils from Homebrew.
I played with gls, but long for fully colorized output.
I installed vivid via Homebrew.
I configured with export LS_COLORS="$(vivid generate solarized-dark)" during my Bash startup.
I execute gls.
The output is colorized, but my subsequent prompt and output are now a different color (remaining from the gls output).
I execute ls (colored but with no $LSCOLORS defined).
My prompt and all subsequent output is back to normal (default) colors.
Could this be an issue in vivid itself (as it changes colors) or in the generated value of $LS_COLORS? I have not yet tried to troubleshoot it that far.
I tested instead with gdircolors (also from coreutils).
Colorization behaves normally with it.
Thank you for reporting this. I can't reproduce this (not a macOS user). We have never seen any reports of invalid LS_COLORS values, but it's certainly an option. It does seem more likely to me that something is wrong with the terminal setup? Also, note that LSCOLORS and LS_COLORS is something different.
Closing this for now, but please feel free to reopen if you can identify a problem with the output of vivid.