diff --git a/home/Documents/PowerShell/Microsoft.PowerShell_profile.ps1 b/home/Documents/PowerShell/Microsoft.PowerShell_profile.ps1 index 72f4ff4..2b8d694 100644 --- a/home/Documents/PowerShell/Microsoft.PowerShell_profile.ps1 +++ b/home/Documents/PowerShell/Microsoft.PowerShell_profile.ps1 @@ -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 diff --git a/init.ps1 b/init.ps1 index 2c9f77d..3b71524 100644 --- a/init.ps1 +++ b/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