mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	EFAP
This commit is contained in:
		
							parent
							
								
									9139092847
								
							
						
					
					
						commit
						30b9708654
					
				| @ -359,11 +359,10 @@ def main(): | ||||
|         elif is_tab_partial_match(needle, TAB_SEPARATOR): | ||||
|             print("tab_partial_match") | ||||
|         else: | ||||
|             result = first(find_matches(entries, needles)) | ||||
| 
 | ||||
|             if result: | ||||
|                 print(encode_local(surround_quotes(result.path))) | ||||
|             else: | ||||
|             try: | ||||
|                 print(encode_local(surround_quotes( | ||||
|                     first(find_matches(entries, needles)).path))) | ||||
|             except AttributeError: | ||||
|                 # always return something so the calling shell function has an | ||||
|                 # argument to `cd` to | ||||
|                 print(encode_local('.')) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user