Re:Dotfile Madness
by e63f67dd-065b on Sunday October 23, 2022 @09:31PM
(#33312060)
Just a random sample from my home directory right now on a random dev server: .ssh, .gnupg, .vscode-server, .zshrc, .ipython, snap, .antigen, .pki, .profile, .python_history, and there's much more.
I don't know what's the situation with desktop linux, may it's better, maybe it's worse, but even on a headless dev server it's already a lost cause. Trying to convince everybody to move to a new standard is a hopeless task, imo, best to move on.
Re:Dotfile Madness
by hyperupcall on Sunday October 23, 2022 @09:52PM
(#33312171)
Oh right I forgot about those - I set some environment variables so I don't see any of those except for .pki
And in my opinion .ssh and .gnupg are okay since in some contexts, the "XDG variables" haven't been initialized in certain circumstances when using those utilities.
But yeah, I'll have to look into those - maybe there is something I can do to fix that
The trick is to use the XDG Base Dir Spec, only if the old ~/.shit location doesn't exist. Old users are happy because it doesn't break compatibility and new users are happy because nobody's dropping 10 sacks of potatoes on their metaphorical doorstep