updated some zsh files to make it compatible with osx