Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I prefer this way. Much simpler but way more aggressive:

`export HOME=$TMPDIR chrome <args...>`

Will make chrome think that $TMPDIR is $HOME. Keep in mind that means your downloads for example would also be deleted after the rm -rf

This works for most other software too



Better just use 'HOME=$TMPDIR chrome <args... > without the export. With export the Home variable will persist for the current shell, potentially leading to unwanted results.


Right correct. I put this in a script hence the export. Though its probably not necessary as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: