completion: use LS_COLORS if possible

Zsh can use LS_COLORS for completion, use it by default.
This commit is contained in:
Florent Thoumie 2010-12-29 11:43:23 +00:00
commit 12c4680a33

View file

@ -21,7 +21,7 @@ else
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
fi
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
# should this be in keybindings?
bindkey -M menuselect '^o' accept-and-infer-next-history