a few fixes about the install script

it's a honor to be listed on the readme, but a few things, the zsh support is not really there with your newly changes.

please review these small patches. Thanks!