Closed amelio-vazquez-reina closed 4 years ago
Does this theme also manage the colors of files and directories from ls -G?
No.
or for that matter
Oh-my-zsh
Oh My Zsh does set LS_COLOR
. See https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/theme-and-appearance.zsh. All files under lib
get sourced when your source $ZSH/oh-my-zsh.sh
. You can disable it with DISABLE_LS_COLORS=true
.
Thanks @romkatv ! And do you know if themes in general (not necessarily powerlevel9k
) may manage that variable? Or is this something relatively universal (oh-my-zsh themes are not meant to manage that variable)
And do you know if themes in general (not necessarily
powerlevel9k
) may manage that variable?
Yes, some themes do. See https://github.com/ohmyzsh/ohmyzsh/search?q=LS_COLORS&unscoped_q=LS_COLORS.
Awesome. Thanks @romkatv !
When I run
ls -G
(enable colorized output inls
) I see files and folders with different colors.Does this theme (or for that matter
Oh-my-zsh
) manage those colors? Or does it only govern e.g. the prompt?It is my understanding that the
LS_COLORS
variable is responsible for those colors, but I'm not sure if oh-my-zsh or this theme specifically already customize this variable.