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
 | 
					## 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 my Homepsick repos
 | 
				
			||||||
Update-HomepsickCastle -All
 | 
					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
 | 
					$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") -Force
 | 
					Import-Module -Name "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick", "src", "Homepsick.psm1"))" -Force
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## clone home
 | 
					## clone home
 | 
				
			||||||
New-HomepsickCastle -Clone -GitUrl https://stash.firekitten.net/kittyfangs/dotfiles.git
 | 
					New-HomepsickCastle -Clone -GitUrl https://stash.firekitten.net/kittyfangs/dotfiles.git
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user