瀏覽代碼

small bugfix

pull/18/head
Joël Schaerer 15 年之前
父節點
當前提交
796e2c9048
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      autojump

+ 1
- 1
autojump 查看文件

@ -91,7 +91,7 @@ else:
if not args: pattern=""
else: pattern=args[-1]
if len(pattern)>0 and pattern[0]=="/": #if pattern is a full path, jump there
if len(pattern)>0 and pattern[0]=="/" and os.path.exists(pattern): #if pattern is a full path, jump there
if not completion : print pattern
else:
endmatch=re.search("__([0-9]+)",pattern)

Loading…
取消
儲存