mirror of
https://github.com/wting/autojump
synced 2026-03-02 03:49:26 +00:00
bugfix: pattern was not defined
This commit is contained in:
2
autojump
2
autojump
@@ -144,7 +144,7 @@ else:
|
|||||||
len(patterns[0])>0 and\
|
len(patterns[0])>0 and\
|
||||||
patterns[0][0]=="/" and\
|
patterns[0][0]=="/" and\
|
||||||
os.path.exists(patterns[0]):
|
os.path.exists(patterns[0]):
|
||||||
if not completion : print pattern
|
if not completion : print patterns[0]
|
||||||
else:
|
else:
|
||||||
endmatch=re.search("__([0-9]+)",patterns[-1])
|
endmatch=re.search("__([0-9]+)",patterns[-1])
|
||||||
if endmatch:
|
if endmatch:
|
||||||
|
|||||||
Reference in New Issue
Block a user