fix: Fixed linux paths in init.ps1
This commit is contained in:
parent
bd1cd924ce
commit
629301ef70
3
init.ps1
3
init.ps1
|
@ -10,9 +10,8 @@ if ((Get-Command -Type Application -ErrorAction SilentlyContinue git) -ne $null)
|
||||||
}
|
}
|
||||||
|
|
||||||
## Install homepshick
|
## Install homepshick
|
||||||
$home = $env:HOME
|
|
||||||
if ($IsWindows) $home = $env:USERPROFILE
|
if ($IsWindows) $home = $env:USERPROFILE
|
||||||
git clone https://github.com/KitKat31337/homepsick.git [IO.Path]::Combine($home, ".homesick", "repos", "homepsick")
|
git clone https://github.com/KitKat31337/homepsick.git "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick"))"
|
||||||
Import-Module -Name "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick", "src", "Homepsick.psm1"))" -Force
|
Import-Module -Name "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick", "src", "Homepsick.psm1"))" -Force
|
||||||
|
|
||||||
## clone home
|
## clone home
|
||||||
|
|
Loading…
Reference in New Issue