Reputation: 113
I have Ubuntu installed through WSL2 and I also am using zsh as my shell with oh my zsh installed. I am trying to change the default ls colours by adding export LSCOLORS=ExFxBxDxBxegedabagacad
in my .zshrc, but it doesn't change any of the default ls colours. I made sure to source the .zshrc file and restarted my terminal as well, but it didn't do anything. In addition, the export LSCOLORS
line is below this line: source $ZSH/oh-my-zsh.sh
. Is it possible that oh my zsh is overriding the ls colors that I set?
Upvotes: 0
Views: 2146
Reputation: 2321
Put the LS_COLORS
export in your ~.zshrc file
not oh-my-zsh.sh
. So it would look something like this:
LS_COLORS="ow=01;36;40" && export LS_COLORS
Upvotes: 2