Add logic if pwd is a UNC path. Starting a cmd.exe process from a UNC path displays an unecessary warning message so ensuring the pwd is set to $HOME.
Get-FileSystemCmd - Add logic for cmd.exe UNC handling requiring pushd into the UNC path for searching.
Get-EditorLaunch - Use ProviderPath property for Resolve-Path instead of default ToString() output. (resolve-path '\\localhost\c$\users\').ToString() returns Microsoft.PowerShell.Core\FileSystem::\\localhost\c$\users\ which isn't supported by native terminal or visual text editors.
Fixes #104
Add logic if
pwd
is a UNC path. Starting acmd.exe
process from a UNC path displays an unecessary warning message so ensuring thepwd
is set to$HOME
.Get-FileSystemCmd
- Add logic forcmd.exe
UNC handling requiringpushd
into the UNC path for searching.Get-EditorLaunch
- UseProviderPath
property forResolve-Path
instead of defaultToString()
output.(resolve-path '\\localhost\c$\users\').ToString()
returnsMicrosoft.PowerShell.Core\FileSystem::\\localhost\c$\users\
which isn't supported by native terminal or visual text editors.