diff options
| author | Marlon Richert <marlon.richert@gmail.com> | 2021-03-17 12:50:57 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2021-03-17 12:50:57 -0500 |
| commit | f4a248f9d38dc02d65610395f4c7f9a95a5d6612 (patch) | |
| tree | 03083407768c4d2264a2eaf8bca029cc43b072b7 /Completion/Base | |
| parent | 48147/0002: zmathfunc: Fix bug where the exit code would be non-zero if the e... (diff) | |
| download | zsh-f4a248f9d38dc02d65610395f4c7f9a95a5d6612.tar zsh-f4a248f9d38dc02d65610395f4c7f9a95a5d6612.tar.gz zsh-f4a248f9d38dc02d65610395f4c7f9a95a5d6612.tar.bz2 zsh-f4a248f9d38dc02d65610395f4c7f9a95a5d6612.tar.lz zsh-f4a248f9d38dc02d65610395f4c7f9a95a5d6612.tar.xz zsh-f4a248f9d38dc02d65610395f4c7f9a95a5d6612.tar.zst zsh-f4a248f9d38dc02d65610395f4c7f9a95a5d6612.zip | |
48180: Start menu selection with select=long-list in menu style
Diffstat (limited to 'Completion/Base')
| -rw-r--r-- | Completion/Base/Core/_main_complete | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Core/_main_complete b/Completion/Base/Core/_main_complete index 663f7557a..169ca1f40 100644 --- a/Completion/Base/Core/_main_complete +++ b/Completion/Base/Core/_main_complete @@ -244,7 +244,7 @@ if [[ $compstate[old_list] = keep || nm -gt 1 ]]; then _menu_style=( "$_menu_style[@]" "$_def_menu_style[@]" ) - if [[ "$compstate[list]" = *list && tmp -gt LINES && + if [[ "$compstate[list]" = *list(| *) && tmp -gt LINES && ( -n "$_menu_style[(r)select=long-list]" || -n "$_menu_style[(r)(yes|true|on|1)=long-list]" ) ]]; then compstate[insert]=menu |
