@@ -106,8 +106,8 @@ Whereas at work it might be:
106106 email = "john.smith@company.com"
107107
108108To handle this, on each machine create a configuration file called
109- ` ~/.config/chezmoi/chezmoi.toml ` defining what might change. For your home
110- machine:
109+ ` ~/.config/chezmoi/chezmoi.toml ` defining variables that might vary from machine
110+ to machine. For example, for your home machine:
111111
112112 [data]
113113 email = "john@home.org"
@@ -117,7 +117,8 @@ If you intend to store private data (e.g. access tokens) in
117117
118118If you prefer, you can use any format supported by
119119[ Viper] ( https://github.com/spf13/viper ) for your configuration file. This
120- includes JSON, YAML, and TOML.
120+ includes JSON, YAML, and TOML. Variable names must start with a letter and be
121+ followed by zero or more letters or digits.
121122
122123Then, add ` ~/.gitconfig ` to chezmoi using the ` -T ` flag to automatically turn
123124it in to a template:
@@ -160,7 +161,7 @@ chezmoi includes all of the hermetic text functions from
160161If, after executing the template, the file contents are empty, the target file
161162will be removed. This can be used to ensure that files are only present on
162163certain machines. If you want an empty file to be created anyway, you will need
163- to give it an ` empty_ ` prefix. See "Under the hood" below.
164+ to give it an ` empty_ ` prefix.
164165
165166For coarser-grained control of files and entire directories are managed on
166167different machines, or to exclude certain files completely, you can create
0 commit comments