Files
dotfiles/home/.chezmoiignore
Xevion b71c320ea5 feat: add WSL GPG integration with Windows pinentry support
Configure chezmoi to automatically set up WSL to use Windows GPG for native
Qt5 GUI passphrase prompts during git commit signing:

- Add symlink_dot_gnupg.tmpl to link ~/.gnupg to Windows GPG directory
- Add run_onchange_before_setup-wsl-gpg.sh.tmpl for system GPG symlink
- Update .chezmoiignore to handle .gnupg appropriately per platform
- Document GPG configuration in CLAUDE.md and ONBOARDING.md

This enables seamless git commit signing in WSL environments (including
Claude Code) without passphrase prompt issues, while maintaining platform
independence for regular Linux installations.
2025-10-27 15:17:17 -05:00

34 lines
616 B
Plaintext

hooks
tool-versions
{{/* generated files, cached files, anything that might change unnecessarily */}}
{{ if eq .chezmoi.os "windows" }}
{{/* Ignore Linux/Unix-only files on Windows */}}
# Shell configs (Linux-only)
.scripts
.bashrc
.profile
.bash_aliases
key.txt
.tmux.conf
# Linux-only config directories
.config/kitty
{{ else }}
{{/* Ignore Windows-only files on Linux/macOS */}}
# Windows-only
Documents/PowerShell
AppData/
{{/* WSL-specific: .gnupg is symlinked to Windows GPG directory */}}
{{ if not .wsl }}
# On non-WSL Linux, .gnupg is managed separately (not via chezmoi)
.gnupg
{{ end }}
{{ end }}