top | item 45995624

(no title)

enriquto | 3 months ago

that's great!

The ~/.mozilla folder is one of the last remaining dotfiles in my home directory

    $ ls -a ~
    . .. .bashrc .mozilla .profile .ssh bak config local pro src
You can also be an xdg ninja if you want: https://github.com/b3nj5m1n/xdg-ninja

Annoyingly, many programs hardcode ~/.config and ~/.local (instead of using XDG_CONFIG_HOME etc) and try to recreate them every time they run. This is a good indication to stop using these careless programs!

discuss

order

smaudet|3 months ago

(hard) links to the rescue.

I like environment variables, but developers/operating systems have trouble using them well.

I could almost see XDG_CONFIG_HOME being a setting read by a driver that provides access to a "virtual" path (on *nix, all paths are virtual anyways).

HumanOstrich|3 months ago

> I could almost see XDG_CONFIG_HOME being a setting read by a driver that provides access to a "virtual" path

Now you have even more complexity. Programs will have to know where this "virtual" path is unless you're suggesting it should be hard-coded.

> on *nix, all paths are virtual anyways

What does this mean?

wpm|3 months ago

TIL about xdg-ninja, thanks for sharing.

I despise programs that think they can just run a goddamn train on my home directory. I'm sick of hidden files I'm expected to edit by hand for configuration. I sick of ugly dotfiles everywhere.