391 B
391 B
| title | seo_description | date | draft | snippet_types | |
|---|---|---|---|---|---|
| auto nvm use | Configuration to automatically run when starting a shell session in a dir with an .nvmrc file | 2023-03-13T10:33:12+01:00 | false |
|
Simply adding:
[ -f ./.nvmrc ] && nvm use
to your .bashrc or .zshrc
Will automatically run the nvm use command should you start the shell in a dir with a .nvmrc file.