Ask HN: What do you use to manage dotfiles?
11–20 of 97 posts
Re: Ask HN: What do you use to manage dotfiles?
#12Re: Ask HN: What do you use to manage dotfiles?
#13I use ansible, to template my gitconfig for different unix machines, and to install software that might be referenced in a dotfile
https://github.com/berdario/dotfiles/blob/master/setup/roles...
https://github.com/berdario/dotfiles/blob/master/setup/feynm...
(I have a separate branch for windows, but I found out that branches are not a good solution for this, since unlike feature branches, they'll never be truly merged... and unlike maintainance branches, they'll never stop being touched due to being out of maintanance)
And I use my own script, to also support Windows (since ansible supports windows targets, but cannot be used from Windows)... I defined this table with the destination for the symlinks (or, in the case of .ghci the destination where to copy it, since symlinking it wouldn't work)
https://github.com/berdario/dotfiles/blob/master/deploy.py#L...
Re: Ask HN: What do you use to manage dotfiles?
#14I see a trend of people maintaining a GitHub repo called `dotfiles` for their public configurations, myself included for zsh/tmux/vim/git. I haven't found a satisfactory way to sync secrets between machines other than via sneakernet. https://github.com/jamescun/dotfiles
Re: Ask HN: What do you use to manage dotfiles?
#15 #!/usr/bin/env bash
#Read the keep directories from xstow.ini
ini="$(