mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
Feat | Update .zshrc to auto load dircolors
This commit is contained in:
parent
bee69c1f47
commit
c82a9ed050
4
.zshrc
4
.zshrc
@ -34,7 +34,9 @@ zinit light zsh-users/zsh-history-substring-search
|
|||||||
autoload -Uz _zinit
|
autoload -Uz _zinit
|
||||||
(( ${+_comps} )) && _comps[zinit]=_zinit
|
(( ${+_comps} )) && _comps[zinit]=_zinit
|
||||||
|
|
||||||
eval `dircolors`
|
# Load LS_COLORS if not present
|
||||||
|
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
|
||||||
|
|
||||||
zstyle ':completion:*' auto-description '%F{green}Specify%f: %F{cyan}%d%f'
|
zstyle ':completion:*' auto-description '%F{green}Specify%f: %F{cyan}%d%f'
|
||||||
|
Loading…
Reference in New Issue
Block a user