Skip to content

Commit 200d75f

Browse files
committed
fix(windows): use pwsh for ps1 scripts to bypass execution policy
1 parent 542ff79 commit 200d75f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

home/.chezmoi.toml.tmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@
66

77
[bitwarden]
88
command = "bw"
9+
10+
{{ if eq .chezmoi.os "windows" -}}
11+
[interpreters.ps1]
12+
command = "pwsh"
13+
args = ["-NoLogo", "-NoProfile", "-ExecutionPolicy", "Bypass"]
14+
{{ end -}}

0 commit comments

Comments
 (0)