-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Author: Bernardo Menicagli <[email protected]> Date: Thu Apr 25 16:14:18 2024 +0200
- Loading branch information
1 parent
89d7967
commit 79a0797
Showing
2 changed files
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# ~/.local/share/chezmoi/.chezmoi.yaml.tmpl | ||
# ============================================================================= | ||
# Used to customize configuration when doing a `chezmoi init`. | ||
|
||
{{- $git_email := "" }} | ||
{{- $git_name := "" }} | ||
{{ if stdinIsATTY }} | ||
{{- $git_email = promptString "Git email address for the author/committer" }} | ||
{{- $git_name = promptString "Git username for the author/committer (Firstname Lastname)" }} | ||
{{ end }} | ||
|
||
data: | ||
git_email: "{{ $git_email }}" | ||
git_name: "{{ $git_name }}" |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
|
||
[*.md] | ||
# Keep trailing whitespaces as they have meaning on Markdown interpretation. | ||
trim_trailing_whitespace = false | ||
|
||
[*.{ps1,psd1,psm1,ps1xml}] | ||
# Set line endings to Windows style for powershell files. | ||
end_of_line = crlf |