-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Preserve case in user template data
- Loading branch information
Showing
17 changed files
with
382 additions
and
778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,19 +33,12 @@ machine to machine. For example, for your home machine: | |
email = "[email protected]" | ||
``` | ||
|
||
!!! note | ||
|
||
All variable names will be converted to lowercase. This is due to a feature | ||
of a library used by chezmoi. See [this GitHub | ||
issue](https://github.com/twpayne/chezmoi/issues/463) for more information. | ||
|
||
If you intend to store private data (e.g. access tokens) in | ||
`~/.config/chezmoi/chezmoi.toml`, make sure it has permissions `0600`. | ||
|
||
If you prefer, you can use any format supported by | ||
[Viper](https://github.com/spf13/viper) for your configuration file. This | ||
includes JSON, YAML, and TOML. Variable names must start with a letter and be | ||
followed by zero or more letters or digits. | ||
If you prefer, you can use JSON or YAML for your configuration file. Variable | ||
names must start with a letter and be followed by zero or more letters or | ||
digits. | ||
|
||
Then, add `~/.gitconfig` to chezmoi using the `--autotemplate` flag to turn it | ||
into a template and automatically detect variables from the `data` section of | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.