mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
Fix | fix the bug when LS_COLORS is not detected
This commit is contained in:
parent
c82a9ed050
commit
e7d66fcf69
2
.zshrc
2
.zshrc
@ -35,7 +35,7 @@ autoload -Uz _zinit
|
|||||||
(( ${+_comps} )) && _comps[zinit]=_zinit
|
(( ${+_comps} )) && _comps[zinit]=_zinit
|
||||||
|
|
||||||
# Load LS_COLORS if not present
|
# 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
|
# The following lines were added by compinstall
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user