A mysterious '~' directory recently appeared inside my home directory (as in ~/~). Inside I found a single hidden directory .confit which contained a single directory chromium. Inside that ~/~/.confit/chromium directory were several of the same contents as ~/.config/chromium. I have been using Chromium for years and this is the first time I have seen this behavior. Has anyone else encountered this? I can delete the '~' directory but it comes back every time I launch Chromium. I wish I could identify exactly when it started, but I have already deleted it several times and I don't remember exactly when it first appeared. What determines where Chromium saves its config files? server-side settings? source code? I don't even know where to look. I'm running Arch Linux in case that matters.
Edit: Is it possible that the error could be in my configs for an Electron app rather than Chromium itself?
Edit: $CHROME_CONFIG_HOME is not set and I set $XDG_CONFIG_HOME to /home/(my username)/.config when I was first troubleshooting this issue. It didn't change anything.
env) for anything with~in the value. – D. SM Oct 30 '20 at 04:33~in any of the dotfiles, it may need to be replaced with$HOME. – D. SM Oct 30 '20 at 04:34~but also theconfitwheretis close togon the keyboard, and this is an indication for a typo while doing some activity, for example like this. Also it seems that no other program is writing anything under that directory, so I don't expect this issue to come from a system global variable but from something Chromium specific. – thanasisp Oct 30 '20 at 16:19$CHROME_CONFIG_HOMEand$XDG_CONFIG_HOME. – thanasisp Oct 30 '20 at 16:22~/.configbut also it is allowed to be overwritten. – thanasisp Oct 31 '20 at 04:45fgrep -r .confit ~? – A.B Nov 04 '20 at 16:26