title: NVM managed npm globally installed packages return command not found
body: <p>I have nvm installed to manage my node versions. If I install a package globally, <code>npm install -g fkill</code>, then run <code>fkill</code>, I get the error <code>zsh: command not found: fkill</code>.</p>
  
  <p>Here are some commands run to help with debugging this</p>
  
  <pre><code>$ npm root -g
  /home/jchi/.nvm/versions/node/v10.15.3/lib/node_modules
  </code></pre>
  
  <p>Looking at my PATH...</p>
  
  <pre><code>$ echo $PATH
  /home/jchi/.pyenv/shims:/home/jchi/.pyenv/bin:/home/jchi/.nix-profile/bin:/home/jchi/.autojump/bin:/home/jchi/.nvm/versions/node/v10.15.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
  </code></pre>
  
  <p>I do not see the output of <code>npm root -g</code> in my PATH.</p>
  
  <p>I assume is nvm's responsibility to add that to my path so globally installed packages can be run. So I look at what I have in my <code>.zshrc</code> that kickstarts nvm.</p>
  
  <pre><code>export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] &amp;&amp; printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
    105 [ -s "$NVM_DIR/nvm.sh" ] &amp;&amp; \. "$NVM_DIR/nvm.sh" # This loads nvm
  </code></pre>
  
  <p>Suggestions appreciated</p>