mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
EFAP
This commit is contained in:
parent
9139092847
commit
30b9708654
@ -359,11 +359,10 @@ def main():
|
|||||||
elif is_tab_partial_match(needle, TAB_SEPARATOR):
|
elif is_tab_partial_match(needle, TAB_SEPARATOR):
|
||||||
print("tab_partial_match")
|
print("tab_partial_match")
|
||||||
else:
|
else:
|
||||||
result = first(find_matches(entries, needles))
|
try:
|
||||||
|
print(encode_local(surround_quotes(
|
||||||
if result:
|
first(find_matches(entries, needles)).path)))
|
||||||
print(encode_local(surround_quotes(result.path)))
|
except AttributeError:
|
||||||
else:
|
|
||||||
# always return something so the calling shell function has an
|
# always return something so the calling shell function has an
|
||||||
# argument to `cd` to
|
# argument to `cd` to
|
||||||
print(encode_local('.'))
|
print(encode_local('.'))
|
||||||
|
Loading…
Reference in New Issue
Block a user