Initial commit
This commit is contained in:
41
README.md
Normal file
41
README.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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).
|
||||
Reference in New Issue
Block a user