mirror of
https://github.com/wting/autojump
synced 2026-03-02 03:49:26 +00:00
this is already something...
This commit is contained in:
2
autojump
2
autojump
@@ -94,7 +94,7 @@ else:
|
||||
else:
|
||||
uniqadd(results,path)
|
||||
if completion:
|
||||
print " ".join(("%.4d)_%s" % (n,r) for n,r in enumerate(results)))
|
||||
print " ".join(("%d)%s" % (n,r) for n,r in enumerate(results)))
|
||||
cPickle.dump(path_dict,open(dic_file+".tmp",'w'),-1)
|
||||
import shutil
|
||||
shutil.copy(dic_file+".tmp",dic_file) #cPickle.dump doesn't seem to be atomic, so this is more secure
|
||||
|
||||
Reference in New Issue
Block a user