Skip to content

Instantly share code, notes, and snippets.

View jasoncrawford's full-sized avatar

Jason Crawford jasoncrawford

View GitHub Profile
@jusopi
jusopi / check.sh
Last active November 14, 2017 09:57
Set node version per project using .nvmrc file
#!/bin/sh
enter_directory(){
if [ "$PWD" != "$PREV_PWD" ]; then
PREV_PWD="$PWD";
if [ -e ".nvmrc" ]; then
nvm use;
fi
fi
}