dotter: Default to symlinks
Dotter can default any found file to symbolic links as described here: https://github.com/SuperCuber/dotter/wiki/5.-Built%E2%80%90ins,-Helpers,-and-Settings#settings This way whenever we add a file we do not have to set it for files which contain the '{{ }}' pattern - which dotter otherwise automatically picks up as template files.
This commit is contained in:
parent
8ca75b4a14
commit
d1c37d36a9
1 changed files with 5 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
[settings]
|
||||
# ensures '{{ }}' in files is not picked up as template
|
||||
# but means we have to manually set any file that is template
|
||||
default_target_type = "symbolic"
|
||||
|
||||
[helpers]
|
||||
|
||||
# BASE: A base system. Sets up a nice xdg (zsh) shell environment, utility scripts and
|
||||
|
|
@ -36,7 +41,6 @@ ssh = "~"
|
|||
|
||||
[terminal.files]
|
||||
"terminal/.config/vifm" = "~/.config/vifm"
|
||||
"terminal/.config/vifm/vifmrc" = { target = "~/.config/vifm/vifmrc", type = "symbolic" }
|
||||
terminal = "~"
|
||||
|
||||
[linux]
|
||||
|
|
@ -74,13 +78,11 @@ social = "~"
|
|||
[writing.files]
|
||||
"writing/README.md" = { target = "~/NOWHERE", type = "symbolic", if = "false" }
|
||||
"writing/jrnl/config" = "~/.config"
|
||||
"writing/papis/config/papis/papistui.yaml" = { target = "~/.config/papis/papistui.yaml", type = "symbolic" }
|
||||
"writing/papis/config" = "~/.config"
|
||||
"writing/sioyek/config/sioyek/prefs_user.config" = { target = "~/.config/sioyek/prefs_user.config", type = "template", prepend = "# TEMPLATED BY DOTTER\n" }
|
||||
"writing/sioyek/config" = "~/.config"
|
||||
"writing/zathura/config" = "~/.config"
|
||||
"writing/zk/config" = "~/.config"
|
||||
"writing/zk/config/sh/alias.d/zk.sh" = { target = "~/.config/sh/alias.d/zk.sh", type = "symbolic" }
|
||||
"writing/pandoc/local" = "~/.local"
|
||||
writing = "~"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue