avoid error for unrecognized keyword MULTIHARDLINK
This commit is contained in:
parent
8375ca971f
commit
d3b896ca68
|
@ -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`"
|
||||
|
|
Loading…
Reference in a new issue