added compatibility with zsh
added zsh compatibility
updated version