Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Mar 22, 2017
1 parent c6f8bb1 commit 6b92bb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Expand Up @@ -97,12 +97,14 @@ function getHookScript (hookName, relativePath, cmd) {

if (process.platform === 'darwin') {
arr = arr.concat([
// Load nvm with BREW_NVM_DIR set to /usr/local/opt/nvm
'load_nvm BREW_NVM_DIR /usr/local/opt/nvm',
''
])
}

arr = arr.concat([
// Load nvm with NVM_DIR set to $HOME/.nvm
'load_nvm NVM_DIR ' + home + '/.nvm',
''
])
Expand Down

0 comments on commit 6b92bb8

Please sign in to comment.