From 007cfdff557515bff99cfa71fe894c04b965ab8a Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 22 May 2000 08:47:30 +0000 Subject: fix for a-a-m-c in menu selection; scroll explanations onto screen again (11487) --- Completion/Core/_expand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Core/_expand b/Completion/Core/_expand index 8bf6d11f4..869c9c843 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -111,7 +111,7 @@ else if _requested all-expansions expl 'all expansions'; then local disp dstr - if [[ $#exp -ge COLUMNS ]]; then + if [[ "${#${exp}}" -ge COLUMNS ]]; then disp=( -ld dstr ) dstr=( "${(r:COLUMNS-5:)exp} ..." ) else -- cgit 1.4.1