about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-19 06:49:36 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-19 06:49:36 +0000
commit6a7c002a7c9f7d695e3cb055d8285f7f18749ccd (patch)
tree0d9bc11b2742d7618d731a8576a697cd393e3ff5 /Completion
parent44ee911749a56a1320e6f415d4c4da46d73bb884 (diff)
downloadzsh-6a7c002a7c9f7d695e3cb055d8285f7f18749ccd.tar.gz
zsh-6a7c002a7c9f7d695e3cb055d8285f7f18749ccd.tar.xz
zsh-6a7c002a7c9f7d695e3cb055d8285f7f18749ccd.zip
default for list-prompt style, %[MLP] use fixed-width strings, %[mlp] use variable-width strings (10816)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_main_complete5
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