matchai / spacefish

🚀🐟 The fish shell prompt for astronauts
https://spacefish.matchai.dev
MIT License
963 stars 79 forks source link

change node version based on .nvmrc file if exists #181

Closed MuhmdRaouf closed 5 years ago

MuhmdRaouf commented 5 years ago

Change nvm version automatically

if the use uses nvm and uses .nvmrc file if exists.

Types of changes

How Has This Been Tested?

matchai commented 5 years ago

Hey @MuhmdRaouf, thank you for creating a PR! 😄

Unfortunately, this is out of scope for the prompt. Users don't expect the prompt to change the version of Node in use. I would suggest using something like https://github.com/direnv/direnv to automatically use the appropriate version of node when you're in a project directory.