This is a collection of some aliases that I regularly use to bootstrap an empty directory for web app development.
Last active
December 5, 2015 17:48
-
-
Save kaplas/d89f7bea120a86c08df4 to your computer and use it in GitHub Desktop.
Bootstrap an empty directory easily with web tech assets
This file contains hidden or 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
# Copy HTML5 Boilerplate contents to the current directory | |
alias html5bp="curl https://codeload.github.com/h5bp/html5-boilerplate/tar.gz/master | tar --strip-components=1 -xz" | |
# Copy HTML5 Mobile Boilerplate contents to the current directory | |
alias html5mbp="curl https://codeload.github.com/h5bp/mobile-boilerplate/tar.gz/master | tar --strip-components=1 -xz" | |
# Initialize a Sublime Text project file to the current directory | |
alias subl-project="echo '{ \"folders\": [ { \"path\": \".\" } ] }' > \"$(basename $(pwd)).sublime-project\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment