creationix/nvm — pull request #203 by em- (2013-03-08 19:59:04+00:00)
Title: Don't trust the environment and explicitly ask for the builtin `cd'

Use `builtin cd' instead of simply `cd' as the latter could have been
redefined since we run in interactive context.

For instance in .bash_profile I have the following function to redefine
`cd' such that it will list the destination directory contents:
cd () { builtin cd "$@" && ls -F --color=auto }