News for hackers. Stuff that matters.
Re:Xdg-ninja: checking your $HOME for unwanted files and dir... by oguz-ismail on Thursday March 06, 2025 @03:05AM (#43277671)
This. Bring back configuration via environment variables
Re:Xdg-ninja: checking your $HOME for unwanted files and dir... by internet_points on Thursday March 06, 2025 @04:04AM (#43278041)
Yes, I'd muuuch rather type `FONT_SIZE=7 FONT_FAMILY='DejaVuSans' FONT_WEIGHT=normal BG=black FG=pink FG_HL=blue BG_VISUAL=green THING='noremapsomething<vimscript>' vim` than polluting my home with a single ~/.config directory in which to put all my config files. And if that gets too long to type every time I start vim I can just make an alias and put it in a file and ..oh
Re:Xdg-ninja: checking your $HOME for unwanted files and dir... by cedilla on Thursday March 06, 2025 @04:00AM (#43278015)
And when I change a setting in a program, where does it set that environment variable?
Re:Xdg-ninja: checking your $HOME for unwanted files and dir... by hulitu on Thursday March 06, 2025 @06:20PM (#43286028)
> when I change a setting

when.

Re:Xdg-ninja: checking your $HOME for unwanted files and dir... by throw-the-towel on Thursday March 06, 2025 @03:46AM (#43277911)
But why? I think a config file is way easier to understand.
Re:Xdg-ninja: checking your $HOME for unwanted files and dir... by smittywerben on Thursday March 06, 2025 @07:06AM (#43279274)
RegEdit.exe welcomes you with open arms. It even supports multiple endian mixed encoding strings. Clearly it was designed for galactic scale.