Created
January 10, 2018 13:31
-
-
Save iamkirkbater/e287e849b6542e7795118101067c61f3 to your computer and use it in GitHub Desktop.
Auto Change NVM version on `cd` command
This file contains 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 characters
cd () { | |
builtin cd "$@" && [ -f ".nvmrc" ] && nvm use | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment