mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -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) {
|
||||
$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 {
|
||||
|
|
Loading…
Reference in a new issue