Make cd command more shell compatible

Some love for the people who use zsh. Easily extensible for other shells.