3 ms·
This is really an awesome command line hack. For those like me who need a bit more detail: 1) make a text file called chrome-new 2) put the following content
by appleflaxen 7y ago
This is really an awesome command line hack.
For those like me who need a bit more detail:
1) make a text file called chrome-new
2) put the following contents in the file in a POSIX-like OS
#!/bin/sh
TMPDIR=`mktemp -d /dev/shm/chrome-XXXXX`
chromium-browser --user-data-dir=$TMPDIR --no-first-run --no-make-default-browser "$@"
rm -rf $TMPDIR
3) make the text file executable:
chmod u+x chrome-new
This also uses the chromium executable for chrome, which I think is the default on debian-based systems. If this isn't applicable to you, change "chromium-browser" on the third line to whatever the executable is for chrome on your system.