diff --git a/bin/autojump b/bin/autojump index f4494ea..7ab7c08 100755 --- a/bin/autojump +++ b/bin/autojump @@ -193,8 +193,8 @@ def find_matches(entries, needles, check_entries=True): lambda entry: not is_cwd(entry) and path_exists(entry), chain( match_consecutive(needles, data, ignore_case), - match_fuzzy(needles, data, ignore_case), - match_anywhere(needles, data, ignore_case))) + match_anywhere(needles, data, ignore_case), + match_fuzzy(needles, data, ignore_case))) def handle_tab_completion(needle, entries): diff --git a/bin/autojump_match.py b/bin/autojump_match.py index 75f9aca..cf166b9 100644 --- a/bin/autojump_match.py +++ b/bin/autojump_match.py @@ -32,7 +32,7 @@ def match_anywhere(needles, haystack, ignore_case=False): ] result = [ - (path='/moo/foo/baz', weight=10), + (path='/foo/bar/baz', weight=10), (path='/foo/baz', weight=10), ] """