summaryrefslogtreecommitdiff
path: root/Completion/Core/compinstall
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/compinstall')
-rw-r--r--Completion/Core/compinstall14
1 files changed, 6 insertions, 8 deletions
diff --git a/Completion/Core/compinstall b/Completion/Core/compinstall
index fc56d2152..a913c97e0 100644
--- a/Completion/Core/compinstall
+++ b/Completion/Core/compinstall
@@ -1394,18 +1394,16 @@ To enable this, edit a prompt to show when scrolling is active; an empty
string turns this feature off. It can contain \`%l' to show the number of
matches as \`current_number/total_number', \`%p' to show the fraction of
the way down the list, or font-control sequences such as %B, %U, %S and the
-corresponding %b, %u, %s; quotes will be added automatically. Note that
-this is the default behaviour; delete the whole line to turn it off, in
-which case the display of completions which don't fit on the screen is
-controlled by the LISTMAX parameter (currently ${LISTMAX:-unset}), which
-specifies the maximum number to show without asking. Hit return to keep
-the current value.
+corresponding %b, %u, %s; quotes will be added automatically. Delete the
+whole line to turn this behaviour off, in which case the display of
+completions which don't fit on the screen is controlled by the LISTMAX
+parameter (currently ${LISTMAX:-unset}), which specifies the maximum number
+to show without asking. Hit return to keep the current value.
"
[[ -z $haslistp ]] &&
listp='%SAt %p: Hit TAB for more, or the character to insert%s'
vared -eh -p 'prompt> ' -c listp
- # Unconditionally use listp; will become '' if empty.
- haslistp=1
+ [[ -z $listp ]] && haslistp=
;;
q) return 1
;;