mirror of
https://github.com/SeriousBug/dotfiles
synced 2025-12-07 05:22:34 -06:00
Allows setup.sh to symlink entire directories for cases where programs create new files that should be tracked (e.g., fish's funcsave command). Removes fish/functions from Dotter management in favor of direct symlink. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
708 B
Markdown
17 lines
708 B
Markdown
# Dotfiles Configuration Notes
|
|
|
|
## Dotter Template Handling
|
|
|
|
Dotter automatically treats files with `{{` as templates. For files that contain `{{` in their code (like Lua tables), disable templating by setting `type = "symbolic"` in `.dotter/global.toml`.
|
|
|
|
**Example:**
|
|
```toml
|
|
[nvim.files."nvim/lua/plugins/hop.lua"]
|
|
target = "~/.config/nvim/lua/plugins/hop.lua"
|
|
type = "symbolic"
|
|
```
|
|
|
|
## Directory Symlinks in setup.sh
|
|
|
|
For directories where programs create new files that should be tracked (e.g., fish's `funcsave` command), use the `ensure_dir_symlink` function in `setup.sh` instead of Dotter. This symlinks the entire directory so dynamically created files are automatically tracked in the repository.
|