added fzf manual install support
This commit is contained in:
		
							parent
							
								
									581b9d62f8
								
							
						
					
					
						commit
						a97e2b6e7a
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -175,3 +175,6 @@
 | 
				
			||||||
	#zsh completions, if it exists.
 | 
						#zsh completions, if it exists.
 | 
				
			||||||
	testPath=$(find /usr/share -path '*fzf/*completion.zsh' -print -quit 2> /dev/null)
 | 
						testPath=$(find /usr/share -path '*fzf/*completion.zsh' -print -quit 2> /dev/null)
 | 
				
			||||||
	[ -f "$testPath" ] && source $testPath
 | 
						[ -f "$testPath" ] && source $testPath
 | 
				
			||||||
 | 
						#if it was installed using git, can just source the one file:
 | 
				
			||||||
 | 
						testPath="$HOME/.fzf.zsh"
 | 
				
			||||||
 | 
						[ -f "$testPath" ] && source $testPath
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue