On my Debian Sid with Bash v4.2 vnm don't work: it just keeps silent in response for any arguments.
But, if I replace last line
nvm ls default >/dev/null 2>&1 && nvm use default >/dev/null
It works fine
Didn't work for me either. GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)
@d-dolzhenko, @cbaigorri - can you check this with the latest tagged release of nvm (currently v0.10.0)? Thanks!
nvm is now at v0.16.1, and should work for both of you. Please comment/reopen if not.