{"action":"opened","issue":{"url":"https://api.github.com/repos/creationix/nvm/issues/1377","repository_url":"https://api.github.com/repos/creationix/nvm","labels_url":"https://api.github.com/repos/creationix/nvm/issues/1377/labels{/name}","comments_url":"https://api.github.com/repos/creationix/nvm/issues/1377/comments","events_url":"https://api.github.com/repos/creationix/nvm/issues/1377/events","html_url":"https://github.com/creationix/nvm/issues/1377","id":198453894,"number":1377,"title":"Don't use `nvm install` for zsh auto use functionality","user":{"login":"lukechilds","id":2123375,"avatar_url":"https://avatars.githubusercontent.com/u/2123375?v=3","gravatar_id":"","url":"https://api.github.com/users/lukechilds","html_url":"https://github.com/lukechilds","followers_url":"https://api.github.com/users/lukechilds/followers","following_url":"https://api.github.com/users/lukechilds/following{/other_user}","gists_url":"https://api.github.com/users/lukechilds/gists{/gist_id}","starred_url":"https://api.github.com/users/lukechilds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukechilds/subscriptions","organizations_url":"https://api.github.com/users/lukechilds/orgs","repos_url":"https://api.github.com/users/lukechilds/repos","events_url":"https://api.github.com/users/lukechilds/events{/privacy}","received_events_url":"https://api.github.com/users/lukechilds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-03T11:16:38Z","updated_at":"2017-01-03T11:16:38Z","closed_at":null,"body":"Currently the auto use functionality in [this section](https://github.com/creationix/nvm#zsh) of the readme runs `nvm install x` on every chpwd that has a `.nvmrc`. This was to allow it to work if the required version wasn't installed (https://github.com/creationix/nvm/issues/1272).\r\n\r\nHowever I think it would be best to default to `nvm use` and only `nvm install` if we need to. Currently if we have a project that requires Node.js 6 in `.nvmrc` and we have v6.9.1 installed, cding into the project dir pulls down the latest 6.x.x release (v6.9.2) and installs and then uses it. This seems a bit invasive.\r\n\r\nI think better functionality would be to use v6.9.1 as we already have it installed and it matches the 6 range. If someone where to cd into a project that required 5 and we had nothing in the 5 range then the latest 5.x.x release should be installed and used."}}
{"actor":{"display_login":"lukechilds"}}