From 629301ef701e0190de80c3125980f46494feb007 Mon Sep 17 00:00:00 2001 From: Kitty Fangs Date: Tue, 7 May 2024 07:51:00 +0000 Subject: [PATCH] fix: Fixed linux paths in init.ps1 --- init.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.ps1 b/init.ps1 index 3b71524..b8287d9 100644 --- a/init.ps1 +++ b/init.ps1 @@ -10,9 +10,8 @@ if ((Get-Command -Type Application -ErrorAction SilentlyContinue git) -ne $null) } ## Install homepshick -$home = $env:HOME 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 ## clone home