zshrc: improve merge() method