Skip to content

Commit e89c15b

Browse files
author
Joel Schaerer
committed
when no input is given, jump to the most frequent location
This replicates a feature of the original autojump that I use a lot. I'm a complete C# noob, so the implementation is probably sub-par, but it should not be difficult to fix.
1 parent 2f0aebb commit e89c15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jump.Location/JumpLocationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected override void ProcessRecord()
7777
return;
7878
}
7979

80-
if (Query == null) return;
80+
if (Query == null) { Query = new string[] { "" }; }
8181

8282
// If last term is absolute path it's probably because of autocomplition
8383
// so and we can safely process it here.

0 commit comments

Comments
 (0)