mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	bin/autojump.zsh: only add existing dirs
With a custom install method (e.g. checkout in ~/.autojump), ~/.autojump/functions will not be present.
This commit is contained in:
		
							parent
							
								
									6360876933
								
							
						
					
					
						commit
						09289c59a5
					
				@ -1,7 +1,9 @@
 | 
			
		||||
# set user installation paths
 | 
			
		||||
if [[ -d ~/.autojump ]]; then
 | 
			
		||||
if [[ -d ~/.autojump/bin ]]; then
 | 
			
		||||
    path=(~/.autojump/bin ${path})
 | 
			
		||||
    fpath=(~/.autojump/functions/ ${fpath})
 | 
			
		||||
fi
 | 
			
		||||
if [[ -d ~/.autojump/functions ]]; then
 | 
			
		||||
    fpath=(~/.autojump/functions ${fpath})
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user