# vim:ft=toml # ~/.local/share/chezmoi/.chezmoi.toml.tmpl # ============================================================================= # Used to customize configuration when doing a `chezmoi init`. # # This template file will trigger prompts to fill-in machine-specific # templateable values. The resulting file is then created at # `~/.config/chezmoi/chezmoi.toml` # See https://www.chezmoi.io/docs/how-to/ {{/* This file supports Go's text/template language. */ -}} {{ $git_email := promptStringOnce . "git_email" "Email address for Git global config" -}} {{ $git_name := promptStringOnce . "git_name" "Display name for Git global config" -}} {{ $enable_nvim_copilot := promptBoolOnce . "enable_nvim_copilot" "Enable features related to GitHub Copilot" -}} {{ if eq .chezmoi.os "windows" -}} [cd] command = "pwsh" {{ else }} [cd] command = "zsh" {{ end -}} [data] git_email = {{ $git_email | quote }} git_name = {{ $git_name | quote }} enable_nvim_copilot = {{ $enable_nvim_copilot }} [diff] exclude = ["scripts"] [edit] command = "nvim" [git] autoCommit = true commitMessageTemplate = "{{ promptString \"Commit message\" }}"