Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .chezmoiignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
README.md
.gitignore
.DS_Store
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
<h1 align="center">~/.dotfiles</h1>

This branch uses [chezmoi](https://www.chezmoi.io/) as the dotfile manager.

## Usage

Preview changes:

```sh
chezmoi --source "$PWD" diff
```

Apply changes:

```sh
chezmoi --source "$PWD" apply
```

## Layout

- `dot_gitconfig` -> `~/.gitconfig`
- `private_dot_config/` -> `~/.config/`

Git identity is intentionally kept out of the public repository. Put local
identity in `~/.gitconfig.local`, for example:

```ini
[user]
name = Your Name
email = you@example.com
```

Generated and local-only files are intentionally not managed, including Neovim
compiled packer output, `.DS_Store`, Kitty backups, and Karabiner automatic
backups. Fish universal variables are also local-only, so `fish_variables` is
not tracked.
30 changes: 30 additions & 0 deletions dot_gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[core]
editor = nvim
pager = delta
[include]
path = ~/.gitconfig.local
[init]
defaultBranch = main
[alias]
st = status
ch = checkout
chb = checkout -b
aa = add --all
cm = commit
fe = fetch -p
di = diff
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
side-by-side = true
9 changes: 0 additions & 9 deletions fish/.config/fish/config.fish

This file was deleted.

45 changes: 0 additions & 45 deletions fish/.config/fish/fish_variables

This file was deleted.

3 changes: 0 additions & 3 deletions fish/.config/fish/functions/fish_user_key_bindings.fish

This file was deleted.

30 changes: 0 additions & 30 deletions fish/.config/fish/themes/Catppuccin Frappe.theme

This file was deleted.

30 changes: 0 additions & 30 deletions fish/.config/fish/themes/Catppuccin Latte.theme

This file was deleted.

30 changes: 0 additions & 30 deletions fish/.config/fish/themes/Catppuccin Macchiato.theme

This file was deleted.

19 changes: 0 additions & 19 deletions git/.gitconfig

This file was deleted.

Loading