Skip to content

Instantly share code, notes, and snippets.

@lek890
Last active May 17, 2021 10:34
Show Gist options
  • Save lek890/68d86abc0999ded1f3ca682625e7c356 to your computer and use it in GitHub Desktop.
Save lek890/68d86abc0999ded1f3ca682625e7c356 to your computer and use it in GitHub Desktop.
Shell helper functions - bashrc
pkgrefresh(){ rm -rf node_modules && yarn; }
//clones and renames boilerplate to the name passed as the first argument
function boilerplate() { git clone https://github.com/lek890/react-typescript-webpack-boilerplate.git; mv react-typescript-webpack-boilerplate $1; cd $1; yarn; yarn start;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment