mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
bin/autojump: Make the test pass
Fixes https://github.com/wting/autojump/issues/348
This commit is contained in:
parent
134d4be938
commit
d9562242c4
@ -196,11 +196,11 @@ def find_matches(entries, needles, check_entries=True):
|
|||||||
|
|
||||||
return ifilter(
|
return ifilter(
|
||||||
lambda entry: not is_cwd(entry) and path_exists(entry),
|
lambda entry: not is_cwd(entry) and path_exists(entry),
|
||||||
chain(
|
set(chain(
|
||||||
match_consecutive(needles, data, ignore_case),
|
match_consecutive(needles, data, ignore_case),
|
||||||
match_fuzzy(needles, data, ignore_case),
|
match_fuzzy(needles, data, ignore_case),
|
||||||
match_anywhere(needles, data, ignore_case),
|
match_anywhere(needles, data, ignore_case),
|
||||||
),
|
)),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user