1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-28 05:41:49 +08:00

Fix | fix the bug when LS_COLORS is not detected

This commit is contained in:
juan 2022-06-25 16:28:44 +08:00
parent c82a9ed050
commit e7d66fcf69
No known key found for this signature in database
GPG Key ID: 63A51E78F28ACE53

2
.zshrc
View File

@ -35,7 +35,7 @@ autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
# Load LS_COLORS if not present
test -n $LS_COLORS || eval $(dircolors) || echo 'Warning: Unable to set LS_COLORS'
test -n "$LS_COLORS" || eval $(dircolors) || echo 'Warning: Unable to set LS_COLORS'
# The following lines were added by compinstall