Last active
December 28, 2015 08:09
-
-
Save wlue/7469286 to your computer and use it in GitHub Desktop.
Open Chrome with a different config file on Mac OS X. Useful for testing on a clean set of cookies. Add to your .bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open Chrome with a different config file. Add to your .bashrc | |
# Usage: chrome /tmp/test | |
function chrome () { | |
app="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" | |
( | |
${app} --user-data-dir=$1 > /dev/null 2>&1 | |
rm -r $1 | |
) & | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment