Skip to content

Commit

Permalink
Lower the threshold for showing recent dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonrichert committed Jun 1, 2021
1 parent 7f44a6d commit d2d7413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completion/_autocomplete.recent_paths
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
zmodload -Fa zsh/parameter p:functions

_autocomplete.recent_paths() {
(( compstate[nmatches] )) &&
return 1
(( compstate[nmatches] < 2 )) ||
return

local -aU dirs
local tag
Expand Down

0 comments on commit d2d7413

Please sign in to comment.