Apparently OSX doesn't like shopt -s direxpand.