1
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Edgar P. Burkhart 88450efd47
Add main powershell install script 2023-05-16 13:48:00 +02:00
Edgar P. Burkhart 4ae3b2d8c4
Rename fish install script arg 2023-05-16 13:40:04 +02:00
4 changed files with 21 additions and 4 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,7 +1,7 @@
#!/usr/bin/env fish
function install -a path
pushd $path
function install -a config_path
pushd $config_path
./.install.fish
popd
end

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\"