1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 00:54:16 +00:00
This commit is contained in:
deadc0de6
2022-09-03 14:50:09 +02:00
parent 1de3a29f1c
commit 6a263be0d8
2 changed files with 9 additions and 1 deletions

View File

@@ -9,6 +9,14 @@ variables:
Variables defined in the `variables` entry are made available within the config file. Variables defined in the `variables` entry are made available within the config file.
For example
```yaml
variables:
myvar: "some value"
home: "{{@@ env['HOME'] @@}}"
email: "user@domain.com"
```
Config variables are recursively evaluated, which means that Config variables are recursively evaluated, which means that
a config like the below: a config like the below:
```yaml ```yaml

2
docs/usage.md vendored
View File

@@ -70,7 +70,7 @@ $ dotdrop import ~/.zshrc --as=~/.zshrc.test
``` ```
By importing a path using the profile special keyword `ALL`, a dotfile will be created By importing a path using the profile special keyword `ALL`, a dotfile will be created
in the config but won't be linked to any profile. in the config but won't be associated to any profile.
To ignore specific patterns during import, see [the ignore patterns](config-file.md#ignore-patterns). To ignore specific patterns during import, see [the ignore patterns](config-file.md#ignore-patterns).