42 lines
630 B
Markdown
42 lines
630 B
Markdown
# Sigil
|
|
|
|
Minimal dotfile symlink manager with per-package Lua config.
|
|
|
|
## Install (dev)
|
|
|
|
```
|
|
go run . <command>
|
|
```
|
|
|
|
## Commands
|
|
|
|
- `sigil apply` - apply symlinks from `~/.dotfiles`
|
|
- `sigil add <path>` - add an existing file or folder
|
|
|
|
## Repo layout
|
|
|
|
```
|
|
~/.dotfiles/
|
|
nvim/
|
|
config.lua
|
|
files/
|
|
init.lua
|
|
```
|
|
|
|
## `config.lua`
|
|
|
|
```lua
|
|
return {
|
|
target = {
|
|
linux = "~/.config/nvim",
|
|
macos = "~/Library/Application Support/nvim",
|
|
default = "~/.config/nvim",
|
|
},
|
|
}
|
|
```
|
|
|
|
## Notes
|
|
|
|
- Uses `SIGIL_REPO` env var to override the repo path.
|
|
- Conflicts are detected (existing non-symlink files will stop apply).
|