mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
parent
bc91905a29
commit
6360876933
@ -399,10 +399,8 @@ def main(args): # noqa
|
|||||||
tab_index,
|
tab_index,
|
||||||
find_matches(entries, tab_needle)))
|
find_matches(entries, tab_needle)))
|
||||||
else:
|
else:
|
||||||
print_local(
|
print_local(first(chain(
|
||||||
first(
|
imap(attrgetter('path'), find_matches(entries, needles)),
|
||||||
chain(
|
|
||||||
find_matches(entries, needles),
|
|
||||||
# always return a path to calling shell functions
|
# always return a path to calling shell functions
|
||||||
['.'])))
|
['.'])))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user