improve zsh functions