mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
bugfix: pattern was not defined
This commit is contained in:
parent
0e7ef2e721
commit
3936e28650
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user