fix(windows): widen PowerShell path permission detection
Handle wildcard path arguments, missing env expansion, and paths that appear after non-path PowerShell switches so external directory prompts stay accurate on Windows. Add focused regression coverage for those shell cases.
L
LukeParkerDev committed
68c435db790840fb2a272e7248d807f866508c33
Parent: 4bcfb37