diff --git a/src/shell/scripts/omp.ps1 b/src/shell/scripts/omp.ps1 index 70e6cb90..a9c4125a 100644 --- a/src/shell/scripts/omp.ps1 +++ b/src/shell/scripts/omp.ps1 @@ -51,6 +51,8 @@ function global:Set-PoshContext {} function global:Get-PoshContext { $cleanPWD = $PWD.ProviderPath $cleanPSWD = $PWD.ToString() + $cleanPWD = $cleanPWD.TrimEnd('\') + $cleanPSWD = $cleanPSWD.TrimEnd('\') return $cleanPWD, $cleanPSWD }