1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 23:14:47 +00:00

Fix links

This commit is contained in:
John T. Wodder II
2021-10-05 12:30:59 -04:00
parent 60550424ca
commit 7c32b1a2fc
9 changed files with 22 additions and 22 deletions

View File

@@ -2,7 +2,7 @@
Sometimes it might be useful to be able to append some text to a
file. Dotdrop is able to do that with the help of
[actions](../config-details.md#entry-actions) and a temporary file.
[actions](../config-details.md#actions-entry) and a temporary file.
Below is a config example to append to a file:
```yaml

View File

@@ -1,7 +1,7 @@
# Create files on install
One way to create symlinks (or any other special file) is to use a combination of
[actions](../config-details.md#entry-actions) and a *fake* dotfile.
[actions](../config-details.md#actions-entry) and a *fake* dotfile.
Let's say, for example, you have a list of directories you want to link
from under `~/.original` to `~/symlinks`.

View File

@@ -48,12 +48,12 @@ Dotdrop will then automagically include the files into your vimrc when handling
## Merge all files in a directory
To include all files in a directory, a combination of
[dynvariables](../config-details.md#entry-dynvariables)
[dynvariables](../config-details.md#dynvariables-entry)
and [Jinja2 directives](https://jinja.palletsprojects.com/en/2.11.x/) have to be used.
Let's say all files in `<dotpath>/toinclude` need to be included into a dotfile.
First define a [dynvariables](../config-details.md#entry-dynvariables)
First define a [dynvariables](../config-details.md#dynvariables-entry)
in the config file which will look for files to include in the above directory:
```yaml
dynvariables:

View File

@@ -1,12 +1,12 @@
# Prompt user for variables
With the use of [uservariables](../config-details.md#entry-uservariables),
With the use of [uservariables](../config-details.md#uservariables-entry),
one can define specific variables that need to be initially filled in manually
by the user on first run.
The provided values are then automatically saved by dotdrop to `uservariables.yaml`,
which can be included in the main config as a file from which variables are imported
using [import_variables](../config-details.md#entry-import_variables).
using [import_variables](../config-details.md#import_variables-entry).
Let's say, for example, that you want to manually provide the email value
on new hosts you deploy your dotfiles to.

View File

@@ -47,7 +47,7 @@ $ cp <encrypted-version-of-secret> dotfiles/secret
* Commit and push the changes
See [transformations](../config-details.md#entry-transformations).
See [transformations](../config-details.md#transformations-entry).
## Load passphrase from file
@@ -67,4 +67,4 @@ trans_read:
_gpg: "gpg2 --batch --yes --passphrase-file <(cat {{@@ gpg_password_file @@}}) -q --for-your-eyes-only --no-tty -d {0} > {1}"
```
See [transformations](../config-details.md#entry-transformations).
See [transformations](../config-details.md#transformations-entry).

View File

@@ -66,7 +66,7 @@ export DB_PORT='4521'
The previous method, albeit flexible, is a bit cumbersome for some use cases.
For example, when the dotfiles belong to different profiles, the cleanest
solution consists of using
[profile variables](../config-details.md#entry-profile-variables). This is achieved by:
[profile variables](../config-details.md#profile-variables-entry). This is achieved by:
1. Creating the merged dotfile with an arbitrary name somewhere in `dotpath`.
2. Adding some variables in the merged dotfile via templating.