Earlier quoted context omitted.
Will you not have `~/.ssh`? If you have `.ssh .config/ssh` as a rewrite rule, `stat ~/.ssh` will still find it.
The point is to have a clean home directory.
Modetc: Move your dotfiles from kernel space
21–30 of 44 posts
Re: Modetc: Move your dotfiles from kernel space
#22 # XDG "compliant" programs
.config/ etc/
.local/state/ var/lib/
.cache/ var/cache/
This is the first I’ve heard of using ~/etc instead of ~/.config as $XDG_CONFIG_DIR. Is there any precedent for that?Re: Modetc: Move your dotfiles from kernel space
#23Re: Modetc: Move your dotfiles from kernel space
#24From the example: # XDG "compliant" programs .config/ etc/ .local/state/ var/lib/ .cache/ var/cache/ This is the first I’ve heard of using ~/etc instead of ~/.config as $XDG_CONFIG_DIR. Is there any precedent for that?
I didn't come up with this idea, though, I think I saw this in a reddit thread and started doing it myself: I like that the directories are visible and follow the usual structure.
Re: Modetc: Move your dotfiles from kernel space
#25Re: Modetc: Move your dotfiles from kernel space
#26Re: Modetc: Move your dotfiles from kernel space
#27From the example: # XDG "compliant" programs .config/ etc/ .local/state/ var/lib/ .cache/ var/cache/ This is the first I’ve heard of using ~/etc instead of ~/.config as $XDG_CONFIG_DIR. Is there any precedent for that?
Well, it's just the natural extension of the FHS convention to the home directory. I didn't come up with this idea, though, I think I saw this in a reddit thread and started doing it myself: I like that the directories are visible and follow the usual structure.
Re: Modetc: Move your dotfiles from kernel space
#28From the example: # XDG "compliant" programs .config/ etc/ .local/state/ var/lib/ .cache/ var/cache/ This is the first I’ve heard of using ~/etc instead of ~/.config as $XDG_CONFIG_DIR. Is there any precedent for that?
Well, it's just the natural extension of the FHS convention to the home directory. I didn't come up with this idea, though, I think I saw this in a reddit thread and started doing it myself: I like that the directories are visible and follow the usual structure.
Re: Modetc: Move your dotfiles from kernel space
#29Earlier quoted context omitted.
The point is to have a clean home directory.
On Windows this was always easier because, for some reason, most everyone respected %appdata% compared to XDG_CONFIG_HOME, but also because hidden files wasn’t just a naming convention but an actual separate metadata flag.
Re: Modetc: Move your dotfiles from kernel space
#30Earlier quoted context omitted.
Well, it's just the natural extension of the FHS convention to the home directory. I didn't come up with this idea, though, I think I saw this in a reddit thread and started doing it myself: I like that the directories are visible and follow the usual structure.
Why not push it under a hidden directory? Like ~/.local/etc? If we're reconstructing some of the hierarchy I think it makes sense to group and hide. Isn't the problem that the home folder is getting cluttered?
~
├── bin binaries and scripts
├── etc configuration files
├── var
│ ├── lib program data
│ └── cache program caches
├── src git repositories
├── img pictures
├── mail email in maildir format
├── note text notes, todo
├── doc documents
└── down downloads