Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
cursee165956yYou should surrender your home directory to them. And just create a separate and true home directory 😁
-
If these personal config files should not be placed as dotfiles in $HOME, where should they go?
-
@cursee who uses the home directory anyway right?
Always have a seperate drive or partition for personal data. -
It's nice being able to edit the bashrc easily with "vim ~/.bashrc" (choose your favourite editor) independent on your current bash location. I agree though for things that you do not edit that often as a user to put it into .config
-
git-gud14066y@stormwise that's what xdg conventions are for. the article OP linked explains it better than i can
-
620hun81886yI’ve always seen the the home directory as “stuff that belongs to this user only”. So, config files that only apply to that user could go there.
-
git-gud14066y@620hun that's not really an argument against the convenient ".config" subdirectory, though, which is also user-specific...
-
@git-gud
~/.config is indeed the correct answer.
/home/<user>, aliased as ~, is set to be only accessible by <user>, sometimes even encrypted.
If multiple people log in to a machine, they expect their own personal settings. Those settings should not be editable by other people. So ~ is the correct location for configs. BUT CONFIGS SHOULD GO IN THE CONFIG DIRECTORY.
VS Code throwing down a ~/.vscode file is like me throwing a dirty plate on the kitchen counter instead of putting it in the dishwasher.
It should be ~/.config/vscode. Also, no need to make the config hidden, because the config directory is already hidden. -
620hun81886y@git-gud .config is in the home directory, though. I was under the impression this rant was about having config files in home.
-
@620hun It's about polluting the "root" of the home directory. Configs should be in the home directory, but just like you would have other personal stuff like ~/documents and ~/code and ~/music and ~/porn, all configuration files should be in a subdirectory as well.
-
@620hun it's a rant about not following convention. The folder ~/.config is where configs are supposed to be if you follow conventions!
-
Yeah... Not all programmers have understood what $HOME/.config and $HOME/.local are for...
Maybe we should open an issue for every dot file that is placed into $HOME directly. 👿
Related Rants
Yes. Please. Stop putting hidden files in my home directory. It's not the place for it.
https://0x46.net/thoughts/2019/...
rant
we need them
standards