mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-09-20 05:27:31 -07:00
parent
f466f919e3
commit
c7b681a2b5
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue