Files
sigil/README.md
2026-02-19 16:14:48 +00:00

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).