Modetc: Move your dotfiles from kernel space
Posted by todsacerdoti 5 hours ago
Comments
Comment by tengwar2 2 hours ago
One of the annoyances of Linux is working out where configuration information is, following through multiple layers of indirection and files over-riding other files. This looks like adding another layer, another place to look, and if you're reading the man file for a shell (for example) it probably won't even mention that this could invalidate the information contained in that in the man file.
Comment by mariusor 47 minutes ago
> working out where configuration information is
Generally, good behaved applications have an entry in their man page that spells out these details for you, so you don't have to work out anything.
Comment by user3939382 18 minutes ago
Unfortunately so many packages these days don’t even have a man page at all let alone one with good config info.
Comment by mariusor 11 minutes ago
Well ... hopefully they're open source and all that.
Comment by skobes 1 hour ago
Tomorrow: modify man pages from kernel space!
Comment by deafpolygon 1 hour ago
Always check the man pages..
Comment by yokoprime 2 hours ago
I struggle to see a valid usecase for this that isn’t handled by symlinks.
Comment by regularfry 2 hours ago
If I symlink ~/.ssh -> ~/.config/ssh, I still have .ssh in my ~. Whereas if I rewrite it, I don't.
Comment by hvenev 2 hours ago
Will you not have `~/.ssh`? If you have `.ssh .config/ssh` as a rewrite rule, `stat ~/.ssh` will still find it.
Comment by user3939382 16 minutes ago
The use case is that you can actually use your home directory without either (a) hiding files or (b) wading through 40 config files and dirs that XDG ignorant devs put there.
Comment by user3939382 19 minutes ago
I absolutely love this and have wanted to take the time to build this for years precisely because of dotfiles. Thank you!