refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / _vim-example / 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\example" -Recurse -ErrorAction Ignore
7 & git clone --depth=1 https://github.com/CHANGEME/example.git "$Env:USERPROFILE\.vim\pack\plugins\start\example"