Use regular file target with symlink mode enabled
Closed this issue · 2 comments
zhengpd commented
There are some files I'd like to apply as regular files, while symlink mode is enabled in .chezmoi.toml. How to do this with chezmoi?
twpayne commented
This is not possible. The mode is a global setting. The way to achieve this is to use the normal ("file") mode and explicitly create symlinks with symlink_
when you need them.
zhengpd commented
Okay, I thought there is something like regular_
prefix to create regular file explicitly.