Try to use the current user's shell.
zsh does not accept --login option.
Use ENV to identify current shell.
Merge pull request #2 from littlemove/make-cd-command-more-shell-compatible

Make cd command more shell compatible