Skip to content

Commit b8a3d62

Browse files
committed
fix(completion): update PowerShell completion variable to VP_COMPLETE
1 parent 96e9491 commit b8a3d62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/vite_global_cli/src/commands/env

crates/vite_global_cli/src/commands/env/setup.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,9 @@ function vp {
501501
}
502502
503503
# Dynamic shell completion for PowerShell
504-
$env:COMPLETE = "powershell"
504+
$env:VP_COMPLETE = "powershell"
505505
& (Join-Path $__vp_bin "vp.exe") | Out-String | Invoke-Expression
506-
Remove-Item Env:\COMPLETE -ErrorAction SilentlyContinue
506+
Remove-Item Env:\VP_COMPLETE -ErrorAction SilentlyContinue
507507
"#;
508508

509509
// For PowerShell, use the actual absolute path (not $HOME-relative)

0 commit comments

Comments
 (0)