diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-19 06:49:36 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-19 06:49:36 +0000 |
commit | 6a7c002a7c9f7d695e3cb055d8285f7f18749ccd (patch) | |
tree | 0d9bc11b2742d7618d731a8576a697cd393e3ff5 /Completion/Core | |
parent | 44ee911749a56a1320e6f415d4c4da46d73bb884 (diff) | |
download | zsh-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/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 |