Files
sigil/README.md

42 lines
678 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 (merges into existing package for single files)
## 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).