mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
parent
a686169a3c
commit
8ef355db4c
|
@ -153,7 +153,7 @@ function global:Export-PoshTheme {
|
|||
if ($FilePath.StartsWith('~')) {
|
||||
$FilePath = $FilePath.Replace('~', $HOME)
|
||||
}
|
||||
$FilePath = [IO.Path]::GetFullPath($FilePath)
|
||||
$FilePath = [IO.Path]::GetFullPath($FilePath, (Get-Location -PSProvider FileSystem).ProviderPath)
|
||||
[IO.File]::WriteAllLines($FilePath, $configString)
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue