better path cleaning

zsh can automatically purge duplicates in the paths with typeset.