mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	fix(nicoluaj): avoid overriding customization params (#12859)
This commit is contained in:
		
							parent
							
								
									bea0dd2ca0
								
							
						
					
					
						commit
						da2510c199
					
				
							
								
								
									
										12
									
								
								themes/nicoulaj.zsh-theme
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										12
									
								
								themes/nicoulaj.zsh-theme
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@ -12,12 +12,12 @@
 | 
			
		||||
# ------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
# Customizable parameters.
 | 
			
		||||
PROMPT_PATH_MAX_LENGTH=30
 | 
			
		||||
PROMPT_DEFAULT_END=❯
 | 
			
		||||
PROMPT_ROOT_END=❯❯❯
 | 
			
		||||
PROMPT_SUCCESS_COLOR=$FG[071]
 | 
			
		||||
PROMPT_FAILURE_COLOR=$FG[124]
 | 
			
		||||
PROMPT_VCS_INFO_COLOR=$FG[242]
 | 
			
		||||
PROMPT_PATH_MAX_LENGTH=${PROMPT_PATH_MAX_LENGTH:-30}
 | 
			
		||||
PROMPT_DEFAULT_END=${PROMPT_DEFAULT_END:-❯}
 | 
			
		||||
PROMPT_ROOT_END=${PROMPT_ROOT_END:-❯❯❯}
 | 
			
		||||
PROMPT_SUCCESS_COLOR=${PROMPT_SUCCESS_COLOR:-$FG[071]}
 | 
			
		||||
PROMPT_FAILURE_COLOR=${PROMPT_FAILURE_COLOR:-$FG[124]}
 | 
			
		||||
PROMPT_VCS_INFO_COLOR=${PROMPT_VCS_INFO_COLOR:-$FG[242]}
 | 
			
		||||
 | 
			
		||||
# Set required options.
 | 
			
		||||
setopt promptsubst
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user