inverted an if statement for sourcing fzf zsh files. fixed login error when distros did not bundle fzfs completions.
This commit is contained in:
		
							parent
							
								
									e0247b6ff1
								
							
						
					
					
						commit
						a672fb9464
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -197,7 +197,7 @@ PROMPT='%F{cyan}[%n@%m]%f%F{red}├────┤%f${vcs_info_msg_0_}
 | 
			
		|||
	source $(find /usr/share -path '*fzf/*key-bindings.zsh' -print -quit 2> /dev/null)
 | 
			
		||||
	#zsh completions, if it exists.
 | 
			
		||||
	testPath=$(find /usr/share -path '*fzf/*completion.zsh' -print -quit 2> /dev/null)
 | 
			
		||||
	if test $(echo $testPath | wc -c) -ne 0
 | 
			
		||||
	if test $(echo $testPath | wc -c) -eq 0
 | 
			
		||||
	then
 | 
			
		||||
		source $testPath
 | 
			
		||||
	fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue