mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-15 00:00:07 +00:00
doc
This commit is contained in:
8
docs/config-variables.md
vendored
8
docs/config-variables.md
vendored
@@ -9,6 +9,14 @@ variables:
|
||||
|
||||
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
|
||||
a config like the below:
|
||||
```yaml
|
||||
|
||||
2
docs/usage.md
vendored
2
docs/usage.md
vendored
@@ -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
|
||||
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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user