update: pwsh: module installs (now use ZLocation instead of z to improve

tab completion)
This commit is contained in:
qwjyh 2022-10-11 18:43:32 +09:00
parent 38928f1e21
commit 9e9782357e

View file

@ -26,8 +26,15 @@ Install-Module -Name posh-git
Write-Output "Pscx" Write-Output "Pscx"
Install-Module -Name Pscx -AllowPrerelease Install-Module -Name Pscx -AllowPrerelease
Write-Output "z" Write-Output "z"
Install-Module -Name z Install-Module -Name ZLocation
Write-Output "PSFzf"
Install-Module -Name PSFzf -RequiredVersion 2.5.10 Install-Module -Name PSFzf -RequiredVersion 2.5.10
Write-Output "Latest PSReadLine"
Install-Module -Name PSReadLine -Force # Override default version to get the latest one
Write-Output "CompletionPredictor"
Install-Module -Name CompletionPredictor
# install scoop # install scoop
if(!(Get-Command scoop -ErrorAction SilentlyContinue)) { if(!(Get-Command scoop -ErrorAction SilentlyContinue)) {