diff --git a/README.md b/README.md index 785091b8..6f7eec20 100644 --- a/README.md +++ b/README.md @@ -146,8 +146,9 @@ cd dotfiles **Option 1: Direct from GitHub (PowerShell 5.1+ or PowerShell 7+)** ```powershell -# Using the official chezmoi installer (recommended) -(irm -useb https://get.chezmoi.io/ps1) | powershell -c -; chezmoi init --apply DevSecNinja +# Install chezmoi via winget (recommended), then open a new shell +winget install twpayne.chezmoi +chezmoi init --apply DevSecNinja ``` **Option 2: Clone and install locally** diff --git a/STRUCTURE.md b/STRUCTURE.md index 97aa3029..1f789706 100644 --- a/STRUCTURE.md +++ b/STRUCTURE.md @@ -68,7 +68,7 @@ dotfiles/ │ │ ├── run_once_before_00-setup.ps1 # Initial directory creation │ │ ├── run_onchange_10-install-packages.ps1.tmpl # Development tools (winget, runs on packages.yaml change) │ │ ├── run_onchange_20-install-modules.ps1.tmpl # PowerShell modules/fonts (after packages so pwsh exists) -│ │ └── run_once_setup-powershell-loader.ps1 # PowerShell profile loader +│ │ └── run_onchange_05-setup-powershell-loader.ps1 # PowerShell profile loader │ ├── 🧪 Validation & Testing │ └── tests/ diff --git a/docs/installation.md b/docs/installation.md index 45d1acc5..4c7dcae9 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -122,8 +122,9 @@ the dotfiles. **Option 1 — Directly from GitHub (PowerShell 5.1+ or PowerShell 7+):** ```powershell -# Using the official chezmoi installer (recommended) -(irm -useb https://get.chezmoi.io/ps1) | powershell -c -; chezmoi init --apply DevSecNinja +# Install chezmoi via winget (recommended), then open a new shell +winget install twpayne.chezmoi +chezmoi init --apply DevSecNinja ``` **Option 2 — Clone and install locally:** diff --git a/home/.chezmoiscripts/windows/run_once_setup-powershell-loader.ps1 b/home/.chezmoiscripts/windows/run_onchange_05-setup-powershell-loader.ps1 similarity index 100% rename from home/.chezmoiscripts/windows/run_once_setup-powershell-loader.ps1 rename to home/.chezmoiscripts/windows/run_onchange_05-setup-powershell-loader.ps1