Created
November 15, 2024 16:01
-
-
Save vjo/682ffa1058d883a7a6e29f9e53b38ae5 to your computer and use it in GitHub Desktop.
Revisions
-
vjo created this gist
Nov 15, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ## # Add the following to your `~/.zshrc` after nvm is initialized ## # switch to the right node version automatically function chpwd() { # Executed whenever the current working directory is changed if [[ -f .nvmrc && -r .nvmrc ]]; then nvm use fi }