creationix/nvm — pull request #294 by 00Davo (2013-09-18 07:10:36+00:00)
Title: Finds NVM_DIR without using cd

Using `cd` makes the nvm directory the number-one directory in `autojump`'s database---which is somewhat confusing since the user basically never `cd`s to it directly!---so here's an alternative method that doesn't use the `cd` command. I've checked it works in both Bash and Zsh.