mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 17:32:27 +08:00 
			
		
		
		
	make unknown color white for all shells
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/git-prompt.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/git-prompt.sh
									
									
									
									
										vendored
									
									
								
							| @@ -61,7 +61,7 @@ else | ||||
|         PS1="$PS1"'\[\033[36m\]'  # change color to cyan | ||||
|         PS1="$PS1"'`__git_ps1`'   # bash function | ||||
|       else | ||||
|         PS1="$PS1"'\[\033[30;1m\]'  # change color to gray | ||||
|         PS1="$PS1"'\[\033[37;1m\]'  # change color to white | ||||
|         PS1="$PS1"'`getSimpleGitBranch`' | ||||
|       fi | ||||
|     fi | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/psmodules/Cmder.ps1
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/psmodules/Cmder.ps1
									
									
									
									
										vendored
									
									
								
							| @@ -43,7 +43,7 @@ function checkGit($Path) { | ||||
|         } else { | ||||
|             $branchName = "HEAD detached at $($headContent.Substring(0, 7))" | ||||
|         } | ||||
|         Write-Host " [$branchName]" -NoNewline -ForegroundColor DarkGray | ||||
|         Write-Host " [$branchName]" -NoNewline -ForegroundColor White | ||||
|       } | ||||
|  | ||||
|       return | ||||
|   | ||||
		Reference in New Issue
	
	Block a user