summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-03-30 01:36:19 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-03-30 01:43:49 +0200
commitb32d5773ae9297c597791971173769dcfb2bee47 (patch)
tree5e381c03389e5bea49e258228342598f650bc300
parentf34a3a2e9eb75a97fc0e204f8edcedee4bbabb46 (diff)
downloaddotfiles-b32d5773ae9297c597791971173769dcfb2bee47.tar.gz
dotfiles-b32d5773ae9297c597791971173769dcfb2bee47.tar.xz
dotfiles-b32d5773ae9297c597791971173769dcfb2bee47.zip
remove warning if dircolors is not available
-rw-r--r--bashrc/common/dircolors.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc/common/dircolors.sh b/bashrc/common/dircolors.sh
index f26a163..901240d 100644
--- a/bashrc/common/dircolors.sh
+++ b/bashrc/common/dircolors.sh
@@ -1,4 +1,4 @@
# colored output for ls
-if hash dircolors; then
+if hash dircolors 2>/dev/null ; then
eval $(dircolors -b)
fi