autojump
autojump copied to clipboard
Accessing shorter paths with lower weighting
I'm trying to understand how to use tab completion. I've read all the open and closed tickets, but havn't found an explanation. Here is my situation:
j foo<tab>
completes to:
foo__1__/path/to/foo/bar
foo__2__/path/to/foo
foo__3__/path/to/foo/baz
So I type 2<tab> and my CLI completes to:
j /path/to/foo
But when I press enter, I end up in /path/to/foo/bar, presumably because that is higher ranked than /path/to/foo. Is there something odd going on here? Should paths that start with / be changed to directly, not using the weighting algorithm?