X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=vim-go%2Finstall.ps1;h=617ae33479b938b06535ca7a142dafe2af90c4cd;hb=2e5ea286d323154705917f29a5844e91217e9236;hp=3a5ee52aecc5e1294675af160e3ead9a5c1cb087;hpb=ee34ace0ded7395ba1d84a64364673a1f3f6a048;p=webi-installers%2F.git diff --git a/vim-go/install.ps1 b/vim-go/install.ps1 index 3a5ee52..617ae33 100644 --- a/vim-go/install.ps1 +++ b/vim-go/install.ps1 @@ -1,7 +1,6 @@ #!/usr/bin/env pwsh -IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) { - New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force -} +New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force | out-null + Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-go" -Recurse -ErrorAction Ignore & git clone --depth=1 https://github.com/fatih/vim-go.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-go"