diff options
Diffstat (limited to 'Completion/Core')
-rw-r--r-- | Completion/Core/_main_complete | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete index 0c0bd05b6..347326c49 100644 --- a/Completion/Core/_main_complete +++ b/Completion/Core/_main_complete @@ -56,8 +56,9 @@ _def_menu_style=( "$_last_menu_style[@]" ) _last_menu_style=() -if zstyle -s ":completion:${curcontext}:default" list-prompt LISTPROMPT && - [[ -n "$LISTPROMPT" ]]; then +zstyle -s ":completion:${curcontext}:default" list-prompt LISTPROMPT || + LISTPROMPT='Current position at %P Continue? ' +if [[ -n "$LISTPROMPT" ]]; then zmodload -i zsh/complist compstate[list_max]=scroll fi |