I have added "eval $(dircolors ~/.dircolors)" to my .zshrc, but the LS_COLORS environment variable is still empty when I log in and the colors don't change. But if I run the exact same eval command outside of my .zshrc (in the shell), the colors apply and everything works fine. Why is this?
I fixed it by adding the eval command to .zshenv instead of .zshrc. I don't know why this worked but you may want to add it to your README in case someone else runs into the issue.
I have added "eval $(dircolors ~/.dircolors)" to my .zshrc, but the LS_COLORS environment variable is still empty when I log in and the colors don't change. But if I run the exact same eval command outside of my .zshrc (in the shell), the colors apply and everything works fine. Why is this?