[fix] Inappropriate variable names.
[fix] broad scope range of add-zsh-hook.