chadtree
chadtree copied to clipboard
LS_COLORS not working
NVIM v0.6.1 GNU bash version 3.2.57 macOS 12.3 iTerm 3.4.15
export LSCOLORS='exfxcxdxbxegedabagacad'
and export CLICOLOR=1
set in ~/.bash_profile
When I ls -lHG
, the blue color of folders is correct (as per costumized in iTerm settings), but using CHADTree, the blue color is default blue.
Just ran into this issue - macOS uses the BSD version of ls
, which uses a different environment variable and color format from the GNU ls
( and this plugin ). A workaround I found is to use this lscolors converter to generate the GNU format string, then add export LS_COLORS='<format string>'
in the shell profile.