From 54346fa942945a90128e1b58310cdad43054f286 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Fri, 18 Nov 2016 15:59:55 -0800 Subject: [PATCH] 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. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 6fbc687..5ce8461 100644 --- a/README.md +++ b/README.md @@ -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.