Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1005 Bytes

File metadata and controls

52 lines (35 loc) · 1005 Bytes

My dotfiles

My dotfiles, managed with chezmoi.

Prerequisites

Installation

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 iaingalloway

On Windows:

winget install -e --id Git.Git
winget install -e --id Starship.Starship
winget install -e --id twpayne.chezmoi

chezmoi init --ssh --apply iaingalloway

Cheat sheet

# 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