fix: Fixed import-module in powershell profile and init.ps1
This commit is contained in:
parent
e90e0a023f
commit
bd1cd924ce
|
@ -1,5 +1,5 @@
|
|||
## Load Homepsick
|
||||
Import-Module -Name [IO.Path]::Combine($home, ".homesick", "repos", "homepsick") -Force
|
||||
Import-Module -Name "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick", "src", "Homepsick.psm1"))" -Force
|
||||
|
||||
## Update my Homepsick repos
|
||||
Update-HomepsickCastle -All
|
||||
|
|
2
init.ps1
2
init.ps1
|
@ -13,7 +13,7 @@ if ((Get-Command -Type Application -ErrorAction SilentlyContinue git) -ne $null)
|
|||
$home = $env:HOME
|
||||
if ($IsWindows) $home = $env:USERPROFILE
|
||||
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") -Force
|
||||
Import-Module -Name "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick", "src", "Homepsick.psm1"))" -Force
|
||||
|
||||
## clone home
|
||||
New-HomepsickCastle -Clone -GitUrl https://stash.firekitten.net/kittyfangs/dotfiles.git
|
||||
|
|
Loading…
Reference in New Issue