4 ms·
Like a few others here, I use git with a .dotfiles directory, which uses an install script that creates symblinks (among other things). It's grown a lot of over
by sethd 4y ago
Like a few others here, I use git with a .dotfiles directory, which uses an install script that creates symblinks (among other things). It's grown a lot of over the years (maybe decade now?) and I've been meaning to look into using something like GNU Stow, but haven't got around to it.
The install script and configuration works on macOS and Linux, but sometimes requires updating when running on a new machine (like recently when provisioning a new M1 Max MacBook Pro). At one point I had it installing default packages (particularly a lot of stuff from Homebrew), but ultimately moved away from that because I realized it just kept too much old unused cruft hanging around.
I also have my configuration files setup so that it can be used for work or personal machine. For example, my .gitconfig includes another config when in the ~/work directory:
[includeIf "gitdir:~/work/"]
# work-specific settings (override email, etc.)
path = ~/work/.gitconfig.inc
https://github.com/sethdeckard/dotfiles https://github.com/sethdeckard/dotfiles
- bloopernova 4y agoI'd never heard of the Include behaviour for gitconfig files. That's really nice, thank you for sharing that!