zsh-users / zsh-syntax-highlighting

Fish shell like syntax highlighting for Zsh.
github.com/zsh-users/zsh-syntax-highlighting
BSD 3-Clause "New" or "Revised" License
19.55k stars 1.32k forks source link

How to change the color of directories in the output of "ls" command? #864

Closed Alecton4 closed 2 years ago

Alecton4 commented 2 years ago

Hello devs! First, this is the output, directories are colored in dark blue which is really hard to read:

image

I tried to change the "ansiBlue" color in VSCode integrated terminal, but this only affects the line where the first arrow points to in the above screenshot, which is Oh My Zsh is already at the latest version.. I have also tried to put ZSH_HIGHLIGHT_STYLES[autodirectory]=fg=blue in my .zshrc, but it also won't work. Thanks.

danielshahaf commented 2 years ago

This project deals with colouring the text you type at the prompt, and only that. We don't deal with colouring ls(1) output and don't know who does. Good luck.