mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Revert "do the PROMPT_COMMAND in the background for better performance"
This reverts commit 87b188cf12
.
This commit is contained in:
parent
87b188cf12
commit
18447505ee
6
autojump
6
autojump
@ -66,11 +66,7 @@ try:
|
|||||||
except IOError:
|
except IOError:
|
||||||
path_dict={}
|
path_dict={}
|
||||||
|
|
||||||
if ('-a','') in optlist: #this can be done in the background
|
if ('-a','') in optlist:
|
||||||
os.nice(10)
|
|
||||||
pid=os.fork()
|
|
||||||
if not pid:
|
|
||||||
os.setsid()
|
|
||||||
dicadd(path_dict,args[-1])
|
dicadd(path_dict,args[-1])
|
||||||
save(path_dict,dic_file)
|
save(path_dict,dic_file)
|
||||||
elif ('--stat','') in optlist:
|
elif ('--stat','') in optlist:
|
||||||
|
Loading…
Reference in New Issue
Block a user