Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Commit 540cf27

Browse files
committed
fix(mise): use pwsh for Windows shell commands
1 parent 93cb3d8 commit 540cf27

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

mise.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
# stylua for code formatting
77
"cargo:stylua" = "latest"
88

9+
[settings]
10+
# Use PowerShell 7 (pwsh) on Windows
11+
windows_default_inline_shell_args = "pwsh -NoProfile -Command"
12+
913
[tasks.deps]
1014
description = "Install test dependencies (mini.nvim)"
1115
run = """
@@ -21,7 +25,7 @@ if (-not (Test-Path deps/mini.nvim)) { git clone --depth 1 https://github.com/ec
2125
description = "Run all unit tests"
2226
depends = ["deps"]
2327
run = "nvim --headless -u tests/minimal_init.lua -c 'lua MiniTest.run()'"
24-
run_windows = "nvim --headless -u tests/minimal_init.lua -c \"lua MiniTest.run()\""
28+
run_windows = 'nvim --headless -u tests/minimal_init.lua -c "lua MiniTest.run()"'
2529

2630
[tasks."test:file"]
2731
description = "Run tests for a specific file"

0 commit comments

Comments
 (0)