# HG changeset patch # User Oleksandr Gavenko # Date 1329254634 -7200 # Node ID c6ae628708d5243eddc1d42bdcbfd472ef4a1002 # Parent d05577057b6731d8ddd15544180f067169b54fa6 Enable dircolors. Check for 'dircolors' command. diff -r d05577057b67 -r c6ae628708d5 .bashrc --- 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