Improved Darwin/Linux compatibility on ZSH.