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 {
|
function global:Get-PoshContext {
|
||||||
$config = $env:POSH_THEME
|
$config = $env:POSH_THEME
|
||||||
$cleanPWD = $PWD.ProviderPath.TrimEnd("\")
|
$cleanPWD = $PWD.ProviderPath
|
||||||
$cleanPSWD = $PWD.ToString().TrimEnd("\")
|
$cleanPSWD = $PWD.ToString()
|
||||||
return $config, $cleanPWD, $cleanPSWD
|
return $config, $cleanPWD, $cleanPSWD
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue