zshrc.d/15-colors.zrc
author Mikael Berthe <mikael@lilotux.net>
Sat, 02 Oct 2021 10:49:57 +0200
changeset 52 1f3d221e1770
parent 13 e1da4a7a9e92
permissions -rw-r--r--
vi mode: Add missing beginning-of-line key bindings Reorder bindings so they are (hopefully) more readable...


# You can customize ls colors by generating the file /etc/LS_COLORS
# (using "dircolors --print-database > /etc/LS_COLORS") and
# updating it.
# Check 'man dircolors' for more information.
# Thanks to Antoine Vouillon and Farzad Farid.

if [[ -x /usr/bin/dircolors ]]; then
  if [[ -e /etc/LS_COLORS ]]; then
    eval $(dircolors -b /etc/LS_COLORS)
  else
    eval $(dircolors -b)
  fi
  LS_OPTIONS=(--color=auto)
  export LS_OPTIONS
fi