X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=vim-sensible%2Finstall.ps1;h=8bd13bf783cc0e49741884635712c5f86d723cf3;hb=1cbc906cab936cebd32d60039334219ba0f077f9;hp=4e460513bdd02fab47ce49a7b585d627885ad9f4;hpb=3f64f8b9c513da3aa4d10e3344426dbb3f817d5e;p=webi-installers%2F.git diff --git a/vim-sensible/install.ps1 b/vim-sensible/install.ps1 index 4e46051..8bd13bf 100644 --- a/vim-sensible/install.ps1 +++ b/vim-sensible/install.ps1 @@ -4,4 +4,10 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) { New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force | out-null } Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible" -Recurse -ErrorAction Ignore -& git clone --depth=1 https://tpope.io/vim/sensible.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible" + +# Note: we've had resolution issues in the past, and it doesn't seem likely that tpope +# will switch from using GitHub as the primary host, so we skip the redirect +# and use GitHub directly. Open to changing this back in the future. +#$sensible_repo = "https://tpope.io/vim/sensible.git" +$sensible_repo = "https://github.com/tpope/vim-sensible.git" +& git clone --depth=1 "$sensible_repo" "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible"