From 621ee1fc7fb2b638dc83137cacbc82bd73087acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaerer?= Date: Wed, 13 May 2009 11:53:50 +0200 Subject: [PATCH] we should never fsync during completion --- autojump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autojump b/autojump index 47e0cde..f63549c 100755 --- a/autojump +++ b/autojump @@ -135,7 +135,7 @@ else: dirs.sort(key=lambda e:e[1],reverse=True) if completion or not results: #if not found, try ignoring case. On completion always show all results find_matches(dirs,pattern,path_dict,results,re_flags=re.IGNORECASE,max_matches=9) - if dead_dirs: #save the dict if there were some non-existent directories in the database + if dead_dirs and not completion: #save the dict if there were some non-existent directories in the database save(path_dict,dic_file) if userchoice!=-1: