Skip to content

Instantly share code, notes, and snippets.

@chriswhong
Created November 19, 2015 21:59
Show Gist options
  • Select an option

  • Save chriswhong/c80cab493391ea3cf359 to your computer and use it in GitHub Desktop.

Select an option

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