Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
deadc0de6 committed Sep 4, 2023
1 parent 464dc8d commit 6298e98
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/config/config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,17 @@ provided they *would have* been ignored by an earlier ignore pattern (dotdrop wi
case). This feature allows to, for example, ignore all files within a certain directory, except for a
particular one (See examples below).

For example to ignore everything but the `colors` directory under `~/.vim`
```yaml
dotfiles:
d_vim
dst: ~/.vim
src: vim
cmpignore:
- '*'
- '!*/colors/**'
```

To completely ignore comparison of a specific dotfile:
```yaml
dotfiles:
Expand Down

0 comments on commit 6298e98

Please sign in to comment.