feat: update readme

This commit is contained in:
Daniel Bauer
2026-08-08 13:48:31 +02:00
parent c23a8a01fb
commit 34f5970519

View File

@@ -3,11 +3,30 @@
## Set up on new machine: ## Set up on new machine:
```bash ```bash
sh -c "$(curl -fsLS get.chezmoi.io)" -- init dnlbauer `sh -c "$(curl -fsLS get.chezmoi.io)" -- init dnlbauer`
``` ```
## One shot (removes chezmoi after install) ## One shot (removes chezmoi after install)
```bash ```bash
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --one-shot dnlbauer `sh -c "$(curl -fsLS get.chezmoi.io)" -- init --one-shot dnlbauer`
``` ```
## Updateing files
1. Re-add updated files:
`chezmoi re-add .zshrc`
2. git add and commit
```bash
chezmoi cd
git add --all
git commit
git push
```
3. Update machine from remote
`chezmoi update`