lukas-the-wizard / cargo-mommy-ce

Mommy's here to support you when running cargo~
3 stars 0 forks source link

Change linux config location #3

Open Ciubix8513 opened 1 year ago

Ciubix8513 commented 1 year ago

I only now realized where the config location is, I think it'd be better for it to be in /home/user/.config/mommy/config.toml or /home/user/.config/mommy.toml but definitely not in a normal directory in ~/

lukas-the-wizard commented 1 year ago

true, will change soon

catuhana commented 1 year ago

Also for Windows. dirs crate and its config_local_dir can be used for this.

Also, configuration implementation can be improved further, when I created that PR for the main repository, I was very new to Rust and its ecosystem.

Edit: I completely forgot that they're being used already, so I'm not sure where the config in ~/ comes from.