This site seems much more like an some of the awesome- repositories on github than a guide. Although it does give some extra information on the packages. To not make it took negative. I personally use Chezmoi, which I've been super happy with. The ability to maintain files in a central repository and then pull them into the file system on an update is quite nice. You can handle merge conflicts and whatnot between you…
Dotfiles: Unofficial Guide to Dotfiles on GitHub
61–70 of 74 posts
Re: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#62Am I missing something or is the use of "GitHub" weird here? Are they GitHub employees? None of the creators seem associated with GitHub. They're _users_ of GitHub, nothing more.
Re: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#63This site seems much more like an some of the awesome- repositories on github than a guide. Although it does give some extra information on the packages. To not make it took negative. I personally use Chezmoi, which I've been super happy with. The ability to maintain files in a central repository and then pull them into the file system on an update is quite nice. You can handle merge conflicts and whatnot between you…
I guess I don’t quite get it. It’s not a ton of work for me to manage things with git, symlinks, and a makefile. Clearly chezmoi adds some polish and maybe additional features, but I don’t see how that outweighs learning a custom tool for this one thing.
Re: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#64Earlier quoted context omitted.
Although GNU stow is very interesting, I like this simple script because it has no external dependencies. Stow is not available on macos by default, for example.
It is available though in every package manager for macOS except the App Store, and any user of a script like this on macOS is probably also using Homebrew, macports, Nix, or srcpkg.
Re: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#65All you need is a symlink script that symlinks files in ~ to ~/path/to/your/dotfiles https://github.com/pprotas/dotfiles/blob/main/symlink.sh That's it.
I think I'm the only person insane enough to use a makefile for this. https://github.com/matheusmoreira/.files/blob/master/GNUmake... https://www.matheusmoreira.com/articles/managing-dotfiles-wi... It even supports the XDG stuff as well as variables like GNUPGHOME.
Re: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#66Earlier quoted context omitted.
This is how I manage my dotfiles, and it has worked pretty well for me.
How do you handle differences between machines (e.g. between Linux and macOS)? How do you handle secrets?
if “$TERM_PROGRAM” != “”; then
# think diff’rnt
else
# tron leotards
endRe: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#67Earlier quoted context omitted.
I guess I don’t quite get it. It’s not a ton of work for me to manage things with git, symlinks, and a makefile. Clearly chezmoi adds some polish and maybe additional features, but I don’t see how that outweighs learning a custom tool for this one thing.
I just use stow and git with a Makefile as well, and I could certainly do without stow these days (I can just write a Makefile target for it, but haven’t bothered).
Re: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#68I'm using yadm for some years now, which works really well: https://github.com/TheLocehiliosan/yadm
I’ve tried a bunch of these out and settled on yadm as well. It’s basically a shim for Git that tracks your home directory with a bare repo stored elsewhere.
Re: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#69I'm using yadm for some years now, which works really well: https://github.com/TheLocehiliosan/yadm
I’ve tried a bunch of these out and settled on yadm as well. It’s basically a shim for Git that tracks your home directory with a bare repo stored elsewhere.
Re: Dotfiles: Unofficial Guide to Dotfiles on GitHub
#70Earlier quoted context omitted.
Third here, it's the easiest tool to setup dotfiles that work on machines ranging from RHEL7 to latest MacOS. Haven't dealt with Windows dotfiles though.
Fourthing Chezmoi. I tried so many dotfiles tools and it's the only one that does just enough, gets out of my way, and "just works". Being able to run `chezmoi diff` and `chezmoi apply` are game changers.
One of chezmoi killer features is how it handles secrets. Either the secret can be encrypted using age/gpg or (super cool) it integrates with you password manager (I used Bitwarden).
This is super useful for me, as I pair chezmoi with dotenv, so when I switch directories, my environment variables are auto populated, including secrets that are pulled directly from my password manager.