Compare commits
2 commits
7b6d6d32eb
...
88450efd47
Author | SHA1 | Date | |
---|---|---|---|
88450efd47 | |||
4ae3b2d8c4 |
4 changed files with 21 additions and 4 deletions
17
Install.ps1
Normal file
17
Install.ps1
Normal 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
|
|
@ -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
|
||||
|
|
|
@ -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\"
|
||||
|
|
|
@ -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\"
|
||||
|
|
Loading…
Reference in a new issue