logoalt Hacker News

pushupentry1219 • 10/12/2024 • 1 reply • view on HN

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


Replies

zufallsheld • 10/12/2024

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.

➕ show 1 reply