Skip to content

Instantly share code, notes, and snippets.

@SamMarkiewicz
Created November 26, 2014 17:52
Show Gist options
  • Save SamMarkiewicz/98c5f148ff6edaadf29e to your computer and use it in GitHub Desktop.
Save SamMarkiewicz/98c5f148ff6edaadf29e to your computer and use it in GitHub Desktop.
Boilerplate shell command for zsh (add in .zshrc)
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