mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
add support for dircolors
This commit is contained in:
parent
93efc97f14
commit
448798654f
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,14 @@ configure_oh_my_zsh() {
|
|||
fi
|
||||
}
|
||||
|
||||
configure_zsh() {
|
||||
[[ -f ~/.dircolors ]] && eval "$(dircolors ~/.dircolors)"
|
||||
[[ -z "$LS_COLORS" ]] && eval "$(dircolors -b)"
|
||||
|
||||
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
|
||||
}
|
||||
|
||||
find_oh_my_zsh
|
||||
configure_oh_my_zsh
|
||||
source "$ZSH/oh-my-zsh.sh"
|
||||
configure_zsh
|
||||
|
|
Loading…
Reference in a new issue