Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pwsh): stop paths from being interpreted as patterns (starship#1569)
Convert-Path in the powershell prompt script works with -Path, which interprets paths as wildcard patterns. Not all valid paths are also valid wildcard patterns, possibly causing the prompt to error (eg []*). Replace it with -LiteralPath that makes Convert-Path use the path as-is.
- Loading branch information