From df775d4a4af84bd707f90d973fb9b5b2acc189f1 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 3 Sep 2022 15:32:47 +0200 Subject: [PATCH] update doc --- docs/config-file.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/config-file.md b/docs/config-file.md index b1ee39d..3bfd977 100644 --- a/docs/config-file.md +++ b/docs/config-file.md @@ -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