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