-
-
Save SamMarkiewicz/98c5f148ff6edaadf29e to your computer and use it in GitHub Desktop.
Boilerplate shell command for zsh (add in .zshrc)
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
function boilerplate { | |
args=($@) | |
# clone repo | |
git clone https://github.com/SamMarkiewicz/boilerplate.git $@ | |
cd $@ | |
# remove git repo | |
rm -rf .git | |
# init repo | |
git init | |
#npm install | |
npm install | |
} | |
# use this alias in your .bash_profile | |
alias boil="boilerplate" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment