summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 471e1ed..b72caf1 100644
--- a/.bashrc
+++ b/.bashrc
@@ -90,7 +90,9 @@ xterm*|rxvt*)
esac
# enable colors
-eval "`dircolors -b ~/.dircolors`"
+if [-f ~/.dircolors ]; then
+ eval "`dircolors -b ~/.dircolors`"
+fi
# colored GCC warnings and errors
# export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'