creationix/nvm — Issue #101: Keep PATH shell variable intact
Author: jacksctsai
Created: 2012-02-08 04:06:54+00:00
State: open

NVM inserts the path of current version node into $PATH, maintains the path when switching to another version.
I suggest that NVM could always maintain the path at the beginning of $PATH.

In my case of using tmux, it was all good without tmux. Once get into tmux, which opens a new shell, the value of $PATH of the source shell will be copied into the new shell. That would cause $PATH to always have the default node version located, then the NVM will become broken.