From e3233ef7a37dd50afe4110ba7b74738b44f98f4e Mon Sep 17 00:00:00 2001 From: mono Date: Thu, 30 May 2024 00:50:05 +0900 Subject: [PATCH] Export env after installing scoop --- _install/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_install/main.ts b/_install/main.ts index 1869457..015636f 100644 --- a/_install/main.ts +++ b/_install/main.ts @@ -109,13 +109,13 @@ async function setupWindows() { .stdinText(` Invoke-RestMethod get.scoop.sh | Invoke-Expression scoop install chezmoi git - `); + `) + .exportEnv(); } - const chezmoi = await $.which("chezmoi"); await $`pwsh -noprofile -noninteractive -` .stdinText(` - . "${chezmoi}" init --verbose --apply ${account} + chezmoi init --verbose --apply ${account} `); }