Cross-platform dotfiles managed with chezmoi.
Without a chezmoi installation, unix only
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --verbose --branch wsl_exploration vitusli
With chezmoi installed
chezmoi init --apply --verbose --branch wsl_exploration vitusli
Run from your chezmoi source directory (~/.local/share/chezmoi):
One-time bootstrap:
run_once_bootstrap_macos.sh.tmplrun_once_bootstrap_wsl.sh.tmplrun_once_bootstrap_windows.ps1.tmpl
Manual invocation via chezmoi execute-template:
macOS
chezmoi execute-template < ~/.local/share/chezmoi/run_once_bootstrap_macos.sh.tmpl | bashWSL (Ubuntu)
chezmoi execute-template < ~/.local/share/chezmoi/run_once_bootstrap_wsl.sh.tmpl | bashWindows (PowerShell)
chezmoi execute-template < $env:USERPROFILE\.local\share\chezmoi\run_once_bootstrap_windows.ps1.tmpl | Invoke-Expressionlocal
chezmoi apply -vremote
chezmoi update -v