The PowerShell Core Way
Chirishman opened this issue · 1 comments
Chirishman commented
Given that VIM is much more likely to be found on a *nix box the PowerShell way needs amending to work cross-platform!
Here's how to do it with PowerShell Core (The executable name is different)
Also handles figuring out if you'll be needing it to stop vim or gvim ^__^
pwsh -nol -nop -c {get-process "$("g" * $IsWindows)vim" | stop-process}
hakluke commented
submit a pr