avoid error for unrecognized keyword MULTIHARDLINK

This commit is contained in:
Sebastian Tramp 2012-08-23 19:39:28 +02:00
parent 8375ca971f
commit d3b896ca68
No known key found for this signature in database
GPG key ID: E8093B579D601B44

View file

@ -3,7 +3,7 @@
export ZSH_DIRCOLORS="$ZSH_CONFIG/dircolors-solarized/dircolors.256dark"
if [[ -a $ZSH_DIRCOLORS ]]; then
if [[ "$TERM" == *256* ]]; then
which dircolors > /dev/null && eval "`dircolors -b $ZSH_DIRCOLORS`"
which dircolors > /dev/null && eval "`dircolors -b $ZSH_DIRCOLORS 2>/dev/null`"
else
# standard colors for non-256-color terms
which dircolors > /dev/null && eval "`dircolors -b`"