From e34979fe1d29b9c758c42d78f22049ff54a885e7 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6fbc687..77a04c5 100644 --- a/README.md +++ b/README.md @@ -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.