port some essentials from bash to zsh.