summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2022-06-11 23:36:16 +0200
committeryuzu-eva <stevenhu@web.de>2022-06-11 23:36:16 +0200
commit0342144d52db2c02cf1f1c05c580d2709fbeb933 (patch)
tree9bd79ad87e5a0cf4bfc14a2ac3aec8c410a92438
parent8ab371ca83e1b89c2b159a133fdf5b3b1810b948 (diff)
minor change
-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'