https://github.com/damassi/dotfiles
My Dotfiles
https://github.com/damassi/dotfiles
chezmoi dotfiles
Last synced: 11 months ago
JSON representation
My Dotfiles
- Host: GitHub
- URL: https://github.com/damassi/dotfiles
- Owner: damassi
- Created: 2020-02-13T04:26:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T17:00:25.000Z (over 1 year ago)
- Last Synced: 2024-12-01T03:41:42.304Z (over 1 year ago)
- Topics: chezmoi, dotfiles
- Language: Shell
- Size: 34.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
My dotfile setup, managed with [chezmoi](https://www.chezmoi.io).
## Setup
First, install `chezmoi`:
```sh
brew install chezmoi
```
Then clone and apply dotfiles:
```sh
chezmoi init https://github.com/damassi/dotfiles.git
chezmoi apply
```
## Use
Add files:
```sh
chezmoi add ~/.bashrc
```
Edit and apply:
```sh
chezmoi edit ~/.bashrc
chezmoi diff
chezmoi -v apply
```
Commit files and return to prompt:
```
chezmoi cd
git add dot_bashrc
git commit -m "Add .bashrc"
exit
```
Update latest with:
```sh
chezmoi update
```
> NOTE: Once dotfiles are cloned and applied, `chezmoi` has been aliased to `ch`.