run `nvm use` automatically every time there's a .nvmrc file on the directory

前端 未结 10 1839
南笙
南笙 2020-12-23 11:05

How to configure my shell so that nvm use run automatically every time there\'s a .nvmrc file on the directory and use the latest version or a global config whe

10条回答
  •  忘掉有多难
    2020-12-23 11:29

    I use this zsh configuration framework called Oh My Zsh. It's a very active repository with regular updates. Try it and I'm sure you will love it. Oh, and it has the automatic .nvmrc feature built-in so it's as simple as installing the package thru npm!

    https://github.com/robbyrussell/oh-my-zsh

提交回复
热议问题