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?
Changing LSCOLORS in WSL2 Ubuntu with oh my zsh doesn't do anything
1.8k views Asked by Zemelware At
1
Put the
LS_COLORS
export in your~.zshrc file
notoh-my-zsh.sh
. So it would look something like this: