mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 01:12:11 +08:00 
			
		
		
		
	
				
					committed by
					
						 Benjamin Staneck
						Benjamin Staneck
					
				
			
			
				
	
			
			
			
						parent
						
							34554d6b08
						
					
				
				
					commit
					27f51f48a4
				
			
							
								
								
									
										8
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/profile.ps1
									
									
									
									
										vendored
									
									
								
							| @@ -155,16 +155,16 @@ $CmderUserProfilePath = Join-Path $env:CMDER_ROOT "config\user-profile.ps1" | ||||
| if (Test-Path $CmderUserProfilePath) { | ||||
|     # Create this file and place your own command in there. | ||||
|     . "$CmderUserProfilePath" | ||||
|  | ||||
| } | ||||
|  | ||||
| if ($ENV:CMDER_USER_CONFIG) { | ||||
|     $CmderUserProfilePath = Join-Path $ENV:CMDER_USER_CONFIG "user-profile.ps1" | ||||
|     if (Test-Path $CmderUserProfilePath) { | ||||
|       . "$CmderUserProfilePath" | ||||
|     } | ||||
| } | ||||
|  | ||||
| if (Test-Path $CmderUserProfilePath) { | ||||
|     . "$CmderUserProfilePath" | ||||
| } else { | ||||
| if (! (Test-Path $CmderUserProfilePath) ) { | ||||
| # This multiline string cannot be indented, for this reason I've not indented the whole block | ||||
|  | ||||
| Write-Host -BackgroundColor Darkgreen -ForegroundColor White "First Run: Creating user startup file: $CmderUserProfilePath" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user