autojump icon indicating copy to clipboard operation
autojump copied to clipboard

Accessing shorter paths with lower weighting

Open mankoff opened this issue 6 years ago • 0 comments

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?

mankoff avatar Feb 12 '19 11:02 mankoff