Remove extra whitespace at the end of lines.
Correct paths and add path for zsh.