1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 12:13:32 +00:00

template doc

This commit is contained in:
deadc0de6
2022-09-03 16:10:13 +02:00
parent c9feccd028
commit 61c8559204
14 changed files with 234 additions and 232 deletions

View File

@@ -61,7 +61,7 @@ dynvariables:
```
Note that `_dotdrop_dotpath` is part of the built-in variables
(For more, see [template variables](../templating.md#template-variables)).
(For more, see [template variables](../template/template-variables.md#template-variables)).
Then use the generated list in the dotfile template:
```

View File

@@ -27,9 +27,9 @@ alias dotdrop='eval $(grep -v "^#" ~/dotfiles/.env) /usr/bin/dotdrop --cfg=~/dot
The above aliases load all the variables from `~/dotfiles/.env`
(while omitting lines starting with `#`) before calling dotdrop.
Defined variables can then be used [in the config](../config/config-file.md#template-config-entries)
or [for templating dotfiles](../templating.md)
or [for templating dotfiles](../template/templating.md)
For more see [the doc on environment variables](../templating.md#environment-variables).
For more see [the doc on environment variables](../template/template-variables.md#environment-variables).
## Store encrypted dotfiles using GPG