]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.profile, .shellrc: use dircolors
[dotfiles.git] / .profile
index a3981654b8335650b053d99b6a95d4c84c921f73..564c40fb73eb26157692264ac75ce4d5c4602cdf 100644 (file)
--- a/.profile
+++ b/.profile
@@ -75,6 +75,10 @@ if [ -t 0 ] ; then
       ;;
    esac
 
+   if [ -x /usr/bin/dircolors ]; then
+       test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
+   fi
+
    PAGER=less
    LESS="gimq"
    case "$LC_CTYPE" in