[zsh] remove dircolors

This commit is contained in:
Dmytro Meleshko 2019-09-07 14:40:03 +03:00
parent 857276d35e
commit cb24d6653f

View file

@ -1,12 +1,5 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
configure_dircolors() {
[[ -f ~/.dircolors ]] && eval "$(dircolors ~/.dircolors)"
[[ -z "$LS_COLORS" ]] && eval "$(dircolors -b)"
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
}
prompt_escape() { prompt_escape() {
echo "${@//'%'/%%}" echo "${@//'%'/%%}"
} }
@ -77,5 +70,4 @@ setup_prompt() {
PROMPT2=' %_> ' PROMPT2=' %_> '
} }
configure_dircolors
setup_prompt setup_prompt