mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
fix: add FullName for explicit path
This commit is contained in:
parent
c5fb63885f
commit
7627a65c66
|
@ -84,7 +84,7 @@ function Get-PoshCommand {
|
||||||
if ($PSVersionTable.PSEdition -ne "Core" -or $IsWindows) {
|
if ($PSVersionTable.PSEdition -ne "Core" -or $IsWindows) {
|
||||||
$extension = ".exe"
|
$extension = ".exe"
|
||||||
}
|
}
|
||||||
return "$((Get-Item $MyInvocation.MyCommand.ScriptBlock.Module.ModuleBase).Parent)/oh-my-posh$extension"
|
return "$((Get-Item $MyInvocation.MyCommand.ScriptBlock.Module.ModuleBase).Parent.FullName)/oh-my-posh$extension"
|
||||||
}
|
}
|
||||||
|
|
||||||
function Sync-PoshExecutable {
|
function Sync-PoshExecutable {
|
||||||
|
|
Loading…
Reference in a new issue