sh -c "$(curl -fsLS get.chezmoi.io)" -- -b ~/.local/bin init --apply atty303
- Windows 11 24H2 or later
- PowerShell 5.1 or later
-
Allow create symbolic link:
- Press
Windows + R
- Run
gpedit.mac
- Navigate to
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment
- Edit
Create symbolic links
- Add your account
- Logout or Reboot
- Press
-
Open Windows Terminal:
- Press
Windows + X
- Select "Windows Terminal (Administrator)"
- Press
-
Install and configure chezmoi:
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Sudo" -Name "Enabled" -Value 3 -PropertyType DWORD -Force Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser iex "&{$(irm 'https://get.chezmoi.io/ps1')} -b ~/.local/bin -- init --apply atty303"
-
Configure Atuin shell history:
atuin login -u atty303 atuin sync
- 1Password
- Configure manually
- Zen
- Sync with Mozilla Account
- ATOK
- Ensure all commands are executed in order
- Administrative privileges may be required
- Wait for each command to complete before proceeding to the next
- Windows Sandbox for testing bootstrap
- winget configure for ensure configuration
- https://github.com/ChrisTitusTech/winutil
https://www.chezmoi.io/reference/templates/
- Trimming:
"{{23 -}} < {{- 45}}"
->23<45
- Conditionals:
{{if pipeline}} T1 {{end}}
,{{if pipeline}} T1 {{else}} T0 {{end}}
,{{if pipeline}} T1 {{else if pipeline}} T0 {{end}}
- Iteration:
{{range pipeline}} {{.}} {{end}}
,{{range pipeline}} T1 {{else}} T0 {{end}}
{{with pipeline}} T1 {{end}}
:if (pipeline) { . = pipeline; T1 }
- Functions: