1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 00:59:18 +00:00

update doc

This commit is contained in:
deadc0de6
2022-09-03 15:32:47 +02:00
parent 6a263be0d8
commit df775d4a4a

23
docs/config-file.md vendored
View File

@@ -264,6 +264,29 @@ dotfiles:
- '[a-zA-Z0-9]*'
```
To ignore specific files on different profiles (same `src` but some files
are not installed for specific profile)
```yaml
dotfiles:
d_testdir_p1:
src: testdir
dst: ~/.testdir
instignore:
- '*/ignore-me-1'
d_testdir_p2:
src: testdir
dst: ~/.testdir
instignore:
- '*/ignore-me-2'
profiles:
p1:
dotfiles:
- d_testdir_p1
p2:
dotfiles:
- d_testdir_p2
```
## Ignore missing
Sometimes, it is nice to have [update](usage.md#update-dotfiles) not copy all the files in the installed directory