akermu / emacs-libvterm

Emacs libvterm integration
GNU General Public License v3.0
1.72k stars 137 forks source link

ls --color=auto does not show colors in vterm #717

Closed rennsax closed 4 months ago

rennsax commented 7 months ago

Hello, I have a simple question: why ls --color=auto show no colors in vterm, while ls --color does render colors? It happens for BSD (macOS version) ls but not for GNU coreutils ls.

image
rennsax commented 4 months ago

I fix this issue by appending

[ -n "$INSIDE_EMACS" ] && export COLORTERM="truecolor"

to my shell init file.