Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.39 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.39 KB

Dotfiles

Using https://www.chezmoi.io/ to handle the business.

Chezmoi Quickstart here.

Files here only handle the business for Linux and macOS (Chezmoi supports a lot more platforms thanks to Go).

Usage

On a fresh machine

Simply run this in the shell:

sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply hilli

On a macOS machine, be sure that you are signed into the App Store

Codespaces

GitHub Codespaces will automatically install the dotfiles if you point it a this repos in the Codespaces settings (You should fork it first and at least change vars in .chezmoi.yaml.tmpl). Codespaces will trigger the install.sh script in the root of the repo. This is also a way to set it up if you already have a checkout of this repo.

Codespaces puts this repo in /workspaces/.codespaces/.persistedshare/dotfiles/ (No matter the name of you dotfiles repo). You can find logs in /workspaces/.codespaces/.persistedshare/ where creation.log is the one you want to look at in the case of debugging your dotfiles setup. The chezmoi commmand itself is installed in /workspaces/.codespaces/.persistedshare/dotfiles/bin/, so do a this to apply changes again:

cd /workspaces/.codespaces/.persistedshare/dotfiles/
./bin/chezmoi apply