mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 05:01:17 +08:00 
			
		
		
		
	style: remove VCS_INFO svn settings from themes that don't enable it
This commit is contained in:
		
							parent
							
								
									eaa6024421
								
							
						
					
					
						commit
						04b1b75b9d
					
				@ -4,7 +4,6 @@ autoload -Uz vcs_info
 | 
			
		||||
zstyle ':vcs_info:*' actionformats \
 | 
			
		||||
       '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
 | 
			
		||||
zstyle ':vcs_info:*' formats '%F{2}%s%F{7}:%F{2}(%F{1}%b%F{2})%f '
 | 
			
		||||
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
 | 
			
		||||
zstyle ':vcs_info:*' enable git
 | 
			
		||||
 | 
			
		||||
add-zsh-hook precmd prompt_vcs
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,6 @@ zstyle ':vcs_info:*' actionformats \
 | 
			
		||||
    '%{$c8%}(%f%s)%{$c7%}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
 | 
			
		||||
zstyle ':vcs_info:*' formats \
 | 
			
		||||
    "%{$c8%}%s%{$c7%}:%{$c7%}(%{$c9%}%b%{$c7%})%f "
 | 
			
		||||
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
 | 
			
		||||
zstyle ':vcs_info:*' enable git
 | 
			
		||||
 | 
			
		||||
add-zsh-hook precmd prompt_jnrowe_precmd
 | 
			
		||||
 | 
			
		||||
@ -102,7 +102,6 @@ zstyle ':vcs_info:*' actionformats \
 | 
			
		||||
zstyle ':vcs_info:*' formats \
 | 
			
		||||
    "%{$c8%}%s%%{$c7%}❨ %{$c9%}%{$c11%}%b%{$c7%} ❩%{$reset_color%}%f "
 | 
			
		||||
 | 
			
		||||
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
 | 
			
		||||
zstyle ':vcs_info:*' enable git
 | 
			
		||||
 | 
			
		||||
add-zsh-hook precmd prompt_jnrowe_precmd
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user