Skip to content

Instantly share code, notes, and snippets.

@rhewitt22
Created February 25, 2016 16:10
Show Gist options
  • Save rhewitt22/ffca02f139ec800b4824 to your computer and use it in GitHub Desktop.
Save rhewitt22/ffca02f139ec800b4824 to your computer and use it in GitHub Desktop.
Front-end goodies for your bash profile

A few aliases for your ~/.bash_profile that will make front-end development a little bit faster.

Quickly change to the directory containing your web projcets:

alias web="cd ~/web" # or whatever your directory of choice is

Start up a simple HTTP server and open a Chrome window:

alias serve="python -m SimpleHTTPServer & open -a "Google CHrome" http://localhost:8000"

Download the latest version of HTML5 Boilerplate to the current working directory as 'index.html':

alias html5="curl https://raw.githubusercontent.com/h5bp/html5-boilerplate/master/dist/index.html > index.html"

Download the latest version of Normalize.scss:

alias normalize='curl https://raw.githubusercontent.com/appleboy/normalize.scss/master/_normalize.scss > _normalize.scss'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment