.bashrc
changeset 304 c6ae628708d5
parent 300 f7c19d2b4263
child 305 72032902cdd1
--- a/.bashrc	Tue Feb 14 21:31:12 2012 +0200
+++ b/.bashrc	Tue Feb 14 23:23:54 2012 +0200
@@ -18,9 +18,9 @@
   ;;
 esac
 
-# if [[ -f ~/.dircolors ]]; then
-#   eval `dircolors -b ~/.dircolors`
-# fi
+if command -v dircolors >/dev/null 2>&1 && [[ -f ~/.dircolors ]]; then
+  eval "`dircolors -b ~/.dircolors`"
+fi
 
 # Don't store duplicate adjacent items in the history.
 #   ignorespace     do not save lines that start with space