1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2025-12-06 21:12:08 -06:00
dotfiles/CLAUDE.md
Kaan Barmore-Genc 3bf9ba3318 Add directory symlink support for fish functions
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>
2025-11-16 01:12:54 -06:00

708 B

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:

[nvim.files."nvim/lua/plugins/hop.lua"]
target = "~/.config/nvim/lua/plugins/hop.lua"
type = "symbolic"

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.