mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 05:01:17 +08:00 
			
		
		
		
	fix(aussiegeek): quote color sequences
This commit is contained in:
		
							parent
							
								
									367e9381df
								
							
						
					
					
						commit
						9114853500
					
				@ -1,8 +1,8 @@
 | 
			
		||||
PROMPT="%{${fg_bold[blue]}%}[ %{${fg[red]}%}%t %{${fg_bold[blue]}%}] %{${fg_bold[blue]}%} [ %{${fg[red]}%}%n@%m:%~\$(git_prompt_info)%{${fg[yellow]}%}\$(ruby_prompt_info)%{${fg_bold[blue]}%} ]%{$reset_color%}
 | 
			
		||||
 $ "
 | 
			
		||||
 | 
			
		||||
PROMPT='$fg_bold[blue][ $fg[red]%t $fg_bold[blue]] $fg_bold[blue] [ $fg[red]%n@%m:%~$(git_prompt_info)$fg[yellow]$(ruby_prompt_info)$fg_bold[blue] ]$reset_color
 | 
			
		||||
 $ '
 | 
			
		||||
# git theming
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_PREFIX="$fg_bold[green]("
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{${fg_bold[green]}%}("
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_CLEAN="✔"
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_DIRTY="✗"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user