Fork 0
mirror of synced 2024-05-25 19:41:14 -04:00

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 committed by Anish Athalye
parent b482cbda58
commit 54346fa942

View file

@ -151,6 +151,9 @@ 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.