Remove unnecessary lines from zsh them.