mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 01:12:11 +08:00 
			
		
		
		
	Merge pull request #916 from liftir/patch-1
Fix missing "\" when building dirpath to psmodules
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							| @@ -18,7 +18,7 @@ if(!$PSScriptRoot) { | ||||
| } | ||||
|  | ||||
| # Add Cmder modules directory to the autoload path. | ||||
| $CmderModulePath = Join-path $PSScriptRoot "psmodules/" | ||||
| $CmderModulePath = Join-path $PSScriptRoot "\psmodules/" | ||||
|  | ||||
| if( -not $env:PSModulePath.Contains($CmderModulePath) ){ | ||||
|     $env:PSModulePath = $env:PSModulePath.Insert(0, "$CmderModulePath;") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user