avoid error for unrecognized keyword MULTIHARDLINK

master
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
1 changed files with 1 additions and 1 deletions

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`"