mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	zsh/jo: Defer -options to j
This commit is contained in:
		
							parent
							
								
									0b25bef134
								
							
						
					
					
						commit
						26db68a8e8
					
				@ -59,6 +59,11 @@ function jc {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function jo {
 | 
					function jo {
 | 
				
			||||||
 | 
					    if [[ ${@} == -* ]]; then
 | 
				
			||||||
 | 
					        j ${@}
 | 
				
			||||||
 | 
					        return
 | 
				
			||||||
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if [ -z $(autojump $@) ]; then
 | 
					    if [ -z $(autojump $@) ]; then
 | 
				
			||||||
        echo "autojump: directory '${@}' not found"
 | 
					        echo "autojump: directory '${@}' not found"
 | 
				
			||||||
        echo "Try \`autojump --help\` for more information."
 | 
					        echo "Try \`autojump --help\` for more information."
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user