mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
feat: update readme
This commit is contained in:
23
README.md
23
README.md
@@ -3,11 +3,30 @@
|
||||
## Set up on new machine:
|
||||
|
||||
```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)
|
||||
|
||||
```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`
|
||||
|
||||
Reference in New Issue
Block a user