This project is to get me up and running quickly on any new machine, but also keep my dotfiles in sync across multiple machines.
It is probably of little use to other folk, but there may be things in here you can draw inspiration from in the same way I have from others that have published their dotfiles.
-
Clone this repo:
git clone git@github.com:dazjones/dotfiles.git
-
Update/install submodules:
git submodule update -i
-
I use stow to link packages, so install using the package manager of your choice.
sudo apt install stow sudo dnf install stow brew install stow
-
Link required packages using stow ensuring target directory is user home.
stow -t ${HOME} vim stow -t ${HOME} zsh stow -t ${HOME} spacemacs
You can also use the
-v
flag to increase verbosity and get some sense of what it is doing:stow -vv -t ${HOME} package_name
Tested on MacOS and various Linux distros.