4e460513bdd02fab47ce49a7b585d627885ad9f4
[webi-installers/.git] / vim-sensible / install.ps1
1 #!/usr/bin/env pwsh
2
3 IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) {
4     New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force | out-null
5 }
6 Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible" -Recurse -ErrorAction Ignore
7 & git clone --depth=1 https://tpope.io/vim/sensible.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible"