mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	Import from upstream git-prompt.sh: user-specific bash completion scripts
Source: 061dbfe92b
			
			
This commit is contained in:
		
							
								
								
									
										13
									
								
								vendor/git-prompt.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								vendor/git-prompt.sh
									
									
									
									
										vendored
									
									
								
							| @@ -71,4 +71,15 @@ else | ||||
|   PS1="$PS1"'λ '                 # prompt: Cmder uses λ | ||||
| fi | ||||
|  | ||||
| MSYS2_PS1="$PS1"               # for detection by MSYS2 SDK's bash.basrc | ||||
| MSYS2_PS1="$PS1"               # for detection by MSYS2 SDK's bash.basrc | ||||
|  | ||||
| # Evaluate all user-specific Bash completion scripts (if any) | ||||
| if test -z "$WINELOADERNOEXEC" | ||||
| then | ||||
|   for c in "$HOME"/bash_completion.d/*.bash | ||||
|   do | ||||
|     # Handle absence of any scripts (or the folder) gracefully | ||||
|     test ! -f "$c" || | ||||
|     . "$c" | ||||
|   done | ||||
| fi | ||||
		Reference in New Issue
	
	Block a user