Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PavanGangireddy/77289f466c63cde7c3966b2a1ee3621e to your computer and use it in GitHub Desktop.
Save PavanGangireddy/77289f466c63cde7c3966b2a1ee3621e to your computer and use it in GitHub Desktop.
Automatically use .yvmrc, .npmrc upon entering a directory - WIP
References:
https://stackoverflow.com/questions/23556330/run-nvm-use-automatically-every-time-theres-a-nvmrc-file-on-the-directory/39519460#39519460
https://asciinema.org/a/191898
https://github.com/tophat/yvm/issues/136
https://github.com/tophat/yvm/blob/8e1f7ed3b38016abbc3e9a7759bf73a7346c983a/src/util/version.js
https://stackoverflow.com/questions/1880198/how-to-execute-shell-command-in-javascript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment