1
Fork 0

Add main powershell install script

This commit is contained in:
Edgar P. Burkhart 2023-05-16 13:48:00 +02:00
parent 4ae3b2d8c4
commit 88450efd47
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
3 changed files with 19 additions and 2 deletions

17
Install.ps1 Normal file
View File

@ -0,0 +1,17 @@
function Install-Config {
param (
[string]$ConfigPath
)
Push-Location $ConfigPath
& ".\.Install.ps1"
Pop-Location
}
Push-Location src
Install-Config Git
Install-Config Neovim
Install-Config PowerShell
Pop-Location

View File

@ -1,2 +1,2 @@
New-Item -ItemType "directory" -Path "$HOME\AppData\Local\nvim"
New-Item -ItemType "directory" -Path "$HOME\AppData\Local\nvim" -Force
Copy-Item ".\init.vim" "$HOME\AppData\Local\nvim\"

View File

@ -1,2 +1,2 @@
New-Item -ItemType "directory" -Path "$HOME\Documents\PowerShell"
New-Item -ItemType "directory" -Path "$HOME\Documents\PowerShell" -Force
Copy-Item ".\profile.ps1" "$HOME\Documents\PowerShell\"