fix: Fixed linux paths in init.ps1
This commit is contained in:
		
							parent
							
								
									4e73a73210
								
							
						
					
					
						commit
						9add01c8a1
					
				
							
								
								
									
										3
									
								
								init.ps1
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user