xavierandClaude Sonnet 5 a787c7ed51 fix(git): Guard $gitConfig.name/email lookup against missing map keys
Accessing a missing key on a map value in text/template raises an
error before `default` can run, so `configs.git` without `name`/`email`
(or hosts without a `configs` key, e.g. termux-*) broke `chezmoi diff`
with "map has no entry for key". Use `hasKey` before accessing each
field instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145M6KGu5gQ3brTPzqs8NwG
2026-09-11 23:42:19 +02:00
2026-08-19 21:34:11 +02:00
2026-08-19 21:34:11 +02:00
2026-07-16 13:08:13 +02:00
2026-08-19 21:34:11 +02:00

Chezmoi

Ce dépôt contient ma configuration pour l'outil chezmoi qui permet la gestion des fichiers dot files.

Pour lancer un bootstrap rapide de mon environnement complet, lancer la commande suivante : sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- init --apply https://gitea.cloud.logerais.com/xavier/config-chezmoi.git

S
Description
Mes fichiers dot files
Readme
903 KiB
Languages
Go Template 55.3%
Shell 44.7%