Skip to content

Instantly share code, notes, and snippets.

@chriswhong
Created November 19, 2015 21:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save chriswhong/c80cab493391ea3cf359 to your computer and use it in GitHub Desktop.
Create an alias in the terminal to open the current directory in chrome via the local webserver
alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --url "http://localhost/~chriswhong/$(basename $PWD)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment