I’ve got a repository for my vim settings: bitbucket.org/andreaskoch/dotfiles-vim.
Another repository for all my bash settings: bitbucket.org/andreaskoch/dotfiles-bash.
And then I’ve got a meta-repository that combines the vim and bash settings in a single project: bitbucket.org/andreaskoch/dotfiles-public.
The dotman-projects are structured like modman projects. The mapping between source and target paths is done in the dotman
file.
If you want to install the dotfile repositories you can do this directly with dotman: github.com/andreaskoch/dotman
1. download dotman
curl -L https://github.com/andreaskoch/dotman/releases/download/v0.1.1/dotman_0.1.1-dev_linux_amd64.tar.gz | tar xz
mv dotman_0.1.1-dev_linux_amd64/dotman /usr/bin
2. Download the Dotfile repository (with dotman)
dotman clone [email protected]:andreaskoch/dotfiles-public.git
3. Deploy the dotfiles with dotman:
cd dotfiles-public
dotman deploy
If you are not sure what dotman will do if you execute the “deploy” action you can use the -whatif
flag:
dotman -whatif deploy
m
This will print out which file would be copied where - without actually copying files.