This is awesome. Question:
[[ -z "${NO_COLOR-}" ]] && [[ "${TERM-}" != "dumb" ]]
Is it not safe to leave off the double quotes here, because it is inside [[ ]] ?