about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-22 08:47:30 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-22 08:47:30 +0000
commit007cfdff557515bff99cfa71fe894c04b965ab8a (patch)
treee034d4b0132c7723e29da308811fe6b2704263e5 /Completion
parent3f9633e006d768f9771a722cd0f608e8ad71de54 (diff)
downloadzsh-007cfdff557515bff99cfa71fe894c04b965ab8a.tar.gz
zsh-007cfdff557515bff99cfa71fe894c04b965ab8a.tar.xz
zsh-007cfdff557515bff99cfa71fe894c04b965ab8a.zip
fix for a-a-m-c in menu selection; scroll explanations onto screen again (11487)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_expand2
1 files changed, 1 insertions, 1 deletions
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