Skip to content

Instantly share code, notes, and snippets.

@hepwori
Created March 18, 2012 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hepwori/2068494 to your computer and use it in GitHub Desktop.
Save hepwori/2068494 to your computer and use it in GitHub Desktop.
#!/bin/bash
PROFILE_NAME="work"
GOOGLE_CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
USER_DIR="/Users/$USER/Library/Application Support/Google/Chrome ($PROFILE_NAME)"
exec -a "Google Chrome ($PROFILE_NAME)" "$GOOGLE_CHROME" \
--enable-udd-profiles \
--user-data-dir="$USER_DIR" &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment