소스 검색

Revert "do the PROMPT_COMMAND in the background for better performance"

This reverts commit 87b188cf12.
pull/18/head
Joel Schaerer 15 년 전
부모
커밋
18447505ee
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. +3
    -7
      autojump

+ 3
- 7
autojump 파일 보기

@ -66,13 +66,9 @@ try:
except IOError:
path_dict={}
if ('-a','') in optlist: #this can be done in the background
os.nice(10)
pid=os.fork()
if not pid:
os.setsid()
dicadd(path_dict,args[-1])
save(path_dict,dic_file)
if ('-a','') in optlist:
dicadd(path_dict,args[-1])
save(path_dict,dic_file)
elif ('--stat','') in optlist:
a=path_dict.items()
a.sort(key=lambda e:e[1])

불러오는 중...
취소
저장