diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-22 08:47:30 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-22 08:47:30 +0000 |
commit | 007cfdff557515bff99cfa71fe894c04b965ab8a (patch) | |
tree | e034d4b0132c7723e29da308811fe6b2704263e5 /Completion/Core | |
parent | 3f9633e006d768f9771a722cd0f608e8ad71de54 (diff) | |
download | zsh-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/Core')
-rw-r--r-- | Completion/Core/_expand | 2 |
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 |