From 64b3b7997c9be566bf24c00467893c38d0b8bed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaerer?= Date: Fri, 23 Jul 2010 16:26:36 +0200 Subject: [PATCH] fix nasty bug --- autojump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autojump b/autojump index fb75b9f..ee6de9a 100755 --- a/autojump +++ b/autojump @@ -169,7 +169,7 @@ else: dirs=path_dict.items() dirs.sort(key=lambda e:e[1],reverse=True) - if completion: + if completion or userchoice != -1: max_matches = 9 else: max_matches = 1