add centos compatibility for zsh