Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesstelford/dotfiles
My dotfiles
https://github.com/jesstelford/dotfiles
Last synced: 28 days ago
JSON representation
My dotfiles
- Host: GitHub
- URL: https://github.com/jesstelford/dotfiles
- Owner: jesstelford
- Created: 2021-04-28T08:52:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T05:11:16.000Z (about 1 year ago)
- Last Synced: 2024-06-11T17:36:38.943Z (7 months ago)
- Language: Shell
- Size: 440 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`dotfiles` managed by [chezmoi](https://www.chezmoi.io/)
## Install
```sh
# Install chezmoi & dotfiles
sh -c "$(curl -fsLS git.io/chezmoi)" -- init jesstelford# See what'll get run
chezmoi -vn apply# Actually run it
chezmoi -v apply
```One liner:
```sh
sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply jesstelford
```## Workflow
### Tell Chezmoi about changes
1. Edit the file (eg; `echo "echo 'hi'" >> ~/.zshrc`)
2. Show what's changed: `chezmoi diff -r -x scripts` (_NOTE: diff is inversed_)
3. Add the changes to chezmoi: `chezmoi add ~/.zshrc ~/.foo`
- Automatically pushes the changes to this repo### Update machine with latest from chezmoi
1. Get the latest changes: `chezmoi git pull`
2. See what's changed: `chezmoi diff -r -x scripts`
3. Apply changes: `chezmoi apply -r -x scripts`### Re-run scripts
1. Get the latest changes: `chezmoi git pull`
2. See the scripts that will be run: `chezmoi diff -r -i scripts`
3. Re-run scripts: `chezmoi apply -i scripts`