about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-25 12:19:45 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-25 12:19:45 +0000
commitd3c918b863d4580f06b378fd5424346c6e8e679d (patch)
tree575220ac6265fb836b728311985ad5886a6d45ce /Completion
parent6e99acad52e4c01aff6d105ec067170226ccbc8b (diff)
downloadzsh-d3c918b863d4580f06b378fd5424346c6e8e679d.tar.gz
zsh-d3c918b863d4580f06b378fd5424346c6e8e679d.tar.xz
zsh-d3c918b863d4580f06b378fd5424346c6e8e679d.zip
re-calculate number of line with mark when needed; make default prompts more consistent (10916)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_main_complete4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete
index 347326c49..54691a1b1 100644
--- a/Completion/Core/_main_complete
+++ b/Completion/Core/_main_complete
@@ -57,13 +57,13 @@ _def_menu_style=( "$_last_menu_style[@]"
 _last_menu_style=()
 
 zstyle -s ":completion:${curcontext}:default" list-prompt LISTPROMPT ||
-    LISTPROMPT='Current position at %P    Continue? '
+    LISTPROMPT='%SCurrent position at %p: continue? %s'
 if [[ -n "$LISTPROMPT" ]]; then
   zmodload -i zsh/complist
   compstate[list_max]=scroll
 fi
 zstyle -s ":completion:${curcontext}:default" select-prompt SELECTPROMPT ||
-    SELECTPROMPT='%SScrolling active: current selection at %p'
+    SELECTPROMPT='%SScrolling active: current selection at %p%s'
 zstyle -s ":completion:${curcontext}:default" select-scroll SELECTSCROLL ||
     SELECTSCROLL=1