X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;ds=sidebyside;f=vim-go%2Finstall.ps1;h=ff2f7d4a583ea3cdca31a643e2606d33e6f123b1;hb=9250bd7453b85e94143d103ab5ce7fa3a59b9513;hp=c77e39acdc9b1a7fe043f7cb7be26bb0e649c77a;hpb=19d5e023ce166b4b7440e64939b75c8e7263a22c;p=webi-installers%2F.git diff --git a/vim-go/install.ps1 b/vim-go/install.ps1 index c77e39a..ff2f7d4 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 -} +New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force + 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"