chore(pwsh): print version on install

This commit is contained in:
Jan De Dobbeleer 2021-11-28 10:25:01 +01:00 committed by Jan De Dobbeleer
parent a357becb85
commit 50ee821688

View file

@ -75,7 +75,7 @@ function Sync-PoshExecutable {
$executable = Get-PoshCommand
$moduleVersion = Split-Path -Leaf $MyInvocation.MyCommand.ScriptBlock.Module.ModuleBase
if (-not (Test-Path $executable)) {
Write-Host "Downloading oh-my-posh executable"
Write-Host "Downloading oh-my-posh executable for $moduleVersion"
$url = Get-PoshDownloadUrl -Version $moduleVersion
Get-PoshExecutable -Url $url -Destination $executable
return