Przeglądaj źródła

small bugfix

pull/18/head
Joël Schaerer 15 lat temu
rodzic
commit
796e2c9048
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      autojump

+ 1
- 1
autojump Wyświetl plik

@ -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)

Ładowanie…
Anuluj
Zapisz