Created
June 22, 2017 05:51
-
-
Save samhunta/ea7ed95ec9f1917a5f8ba00d930be232 to your computer and use it in GitHub Desktop.
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
command -v nodemon > /dev/null || npm install -g nodemon | |
echo '@test.js' >> ~/.gitignore_global | |
echo 'function nw() { touch @test.js && open @test.js && nodemon @test.js $@ && rm -rf @test.js }' >> ~/.zshrc | |
source ~/.zshrc | |
echo 'nw installed\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment