mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
parent
d3e638e067
commit
62b2a5cb16
|
@ -39,8 +39,8 @@ function global:Set-PoshContext {}
|
|||
|
||||
function global:Get-PoshContext {
|
||||
$config = $env:POSH_THEME
|
||||
$cleanPWD = $PWD.ProviderPath.TrimEnd("\")
|
||||
$cleanPSWD = $PWD.ToString().TrimEnd("\")
|
||||
$cleanPWD = $PWD.ProviderPath
|
||||
$cleanPSWD = $PWD.ToString()
|
||||
return $config, $cleanPWD, $cleanPSWD
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue