mirror of
Fork 0

Mention in readme that ~ is null in YAML

This is a weird YAML gotcha, and it seems worth mentioning in the readme
since dotbot users are likely to run into it.
This commit is contained in:
Casey Rodarmor 2016-11-18 15:59:55 -08:00
parent b482cbda58
commit e34979fe1d
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,8 @@ do not have a defined ordering.
When writing nested constructs, keep in mind that YAML is whitespace-sensitive.
Following the formatting used in the examples is a good idea.
Also, note that `~` in YAML is the same as `null` in JSON. If you want a single character string containing a tilde, make sure to enclose it in quotes: `'~'`
### Link
Link commands specify how files and directories should be symbolically linked.