Fix crazy zsh things. This function is called in a bunch of other cases we don't care about.