mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	Fixes #2467 tab completion scrolls back in terminal when using bureau theme
This commit is contained in:
		
							parent
							
								
									4ce7f0a37f
								
							
						
					
					
						commit
						c3c8cc318d
					
				@ -101,12 +101,12 @@ _1RIGHT="[%*] "
 | 
			
		||||
 | 
			
		||||
bureau_precmd () {
 | 
			
		||||
  _1SPACES=`get_space $_1LEFT $_1RIGHT`
 | 
			
		||||
  echo
 | 
			
		||||
  print 
 | 
			
		||||
  print -rP "$_1LEFT$_1SPACES$_1RIGHT"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
setopt prompt_subst
 | 
			
		||||
PROMPT='$_1LEFT$_1SPACES$_1RIGHT
 | 
			
		||||
> $_LIBERTY '
 | 
			
		||||
PROMPT='> $_LIBERTY '
 | 
			
		||||
RPROMPT='$(nvm_prompt_info) $(bureau_git_prompt)'
 | 
			
		||||
 | 
			
		||||
autoload -U add-zsh-hook
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user