Added zstyle to set completion colors

This commit is contained in:
AtomicCoding 2018-05-21 18:58:51 -07:00
parent 3b7eeda8f7
commit 4d979d9e92
No known key found for this signature in database
GPG Key ID: D9C2E2ED3C4516FA
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ if (( terminfo[colors] >= 8 )); then
# GNU colours are used by completion module for all OSTYPEs
(( ! ${+LS_COLORS} )) && export LS_COLORS='di=1;34:ln=35:so=32:pi=33:ex=31:bd=1;36:cd=1;33:su=30;41:sg=30;46:tw=30;42:ow=30;43'
# Set completion colors to LS_COLORS
zstyle ':completion:*' list-colors $LS_COLORS
if (( ${+commands[dircolors]} )); then
# GNU