Skip to content

Commit

Permalink
when no input is given, jump to the most frequent location
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Joel Schaerer committed Jul 24, 2013
1 parent 2f0aebb commit e89c15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jump.Location/JumpLocationCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected override void ProcessRecord()
return;
}

if (Query == null) return;
if (Query == null) { Query = new string[] { "" }; }

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

0 comments on commit e89c15b

Please sign in to comment.