Skip to content

Commit

Permalink
Export env after installing scoop
Browse files Browse the repository at this point in the history
  • Loading branch information
mono0x committed May 29, 2024
1 parent fd7851a commit e3233ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _install/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
`);
}

Expand Down

0 comments on commit e3233ef

Please sign in to comment.