1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
This commit is contained in:
Joel Schaerer 2009-01-14 11:22:31 +01:00
parent 1d73eeee6c
commit 1b14210001

View File

@ -70,6 +70,8 @@ else:
print path
found=True
break
dirs=path_dict.items() #we need to recreate the list since the first iteration potentially deletes paths
dirs.sort(key=lambda e:e[1],reverse=True)
if not found:
for path,count in dirs:
if match(path," ".join(args),path_dict,re.IGNORECASE): #Then try to ignore case