mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
fix(pwsh): use module qualified cmdlet for expand
This commit is contained in:
parent
a0d4fc6cba
commit
4a713b2a23
|
@ -89,7 +89,7 @@ function Sync-PoshThemes {
|
|||
$themesUrl = "https://github.com/jandedobbeleer/oh-my-posh/releases/download/v$Version/themes.zip"
|
||||
Invoke-WebRequest -OutFile $tmp $themesUrl
|
||||
$destination = $env:POSH_THEMES_PATH
|
||||
$tmp | Expand-Archive -DestinationPath $destination -Force
|
||||
$tmp | Microsoft.PowerShell.Archive\Expand-Archive -DestinationPath $destination -Force
|
||||
$tmp | Remove-Item
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue