In my .bashrc I set my XDG_CACHE_HOME variable to ~/.cache/.This breaks my Firefox installation, telling me that it cannot load my profile.Without this line, Firefox loads properly. I have tried sudo -R chown $USER:$USER ~/.cache/mozilla with no avail (same for my .mozilla folder).Is there something I am missing?
Setting XDG_CACHE_HOME Breaks Firefox Installation
shell script;firefox;xdg user dirs
Shells don't perform tilde expansion inside quotes, so your ~/.cache doesn't point to your home directoryit points to a subdirectory .cache of a directory called ~.Remove the quotes, and everything should work as expected:export XDG_CACHE_HOME=~/.cache