Skip to content

Instantly share code, notes, and snippets.

@Mikulas
Created November 11, 2010 15:13
Show Gist options
  • Save Mikulas/672618 to your computer and use it in GitHub Desktop.
Save Mikulas/672618 to your computer and use it in GitHub Desktop.
Mac shell script for opening web projects
#!/bin/bash
x=`pwd`
x=$(echo $x|sed 's/\/Volumes\/Data\/Web/localhost/g')
open -a Google\ Chrome http://$x/www/
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment