My dotfiles, managed with chezmoi.
On Ubuntu on WSL:
sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
sudo apt upgrade && sudo apt install -y direnv
curl -sS https://starship.rs/install.sh | sh
sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- init --ssh --apply iaingallowayOn Windows:
winget install -e --id Git.Git
winget install -e --id Starship.Starship
winget install -e --id twpayne.chezmoi
chezmoi init --ssh --apply iaingalloway# open a subshell in chezmoi's source directory
chezmoi cd
# get changes from github and apply
chezmoi update
# add file foo to chezmoi
chezmoi add foo
# add all modified files in their target state
chezmoi re-add