summaryrefslogtreecommitdiffstats
path: root/Completion/Base/_first
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-01 09:41:56 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-01 09:41:56 +0000
commitcfa7436ee6fd00e2cb21cb2d04417aebd10ed921 (patch)
tree2789438ce2c71e5751bab6a6bd09a4a8567ca2c0 /Completion/Base/_first
parentzsh-users/2713 (diff)
downloadzsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.tar
zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.tar.gz
zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.tar.bz2
zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.tar.lz
zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.tar.xz
zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.tar.zst
zsh-cfa7436ee6fd00e2cb21cb2d04417aebd10ed921.zip
zsh-workers/8479
Diffstat (limited to 'Completion/Base/_first')
-rw-r--r--Completion/Base/_first7
1 files changed, 4 insertions, 3 deletions
diff --git a/Completion/Base/_first b/Completion/Base/_first
index d259824cc..fc434fca7 100644
--- a/Completion/Base/_first
+++ b/Completion/Base/_first
@@ -47,15 +47,16 @@
# # The default is to search the last 100 lines.
# max=10
# fi
-# # We first search in the last ten lines, then in the last
-# # twenty lines, and so on...
+# # We first search in the last ten words, then in the last
+# # twenty words, and so on...
# while [[ i -le max ]]; do
# if [[ -n "$compconfig[history_sort]" ]]; then
# _description expl "history ($n)"
# else
# _description -V expl "history ($n)"
# fi
-# if compadd "$expl[@]" -Q - "${(@)historywords:#[\$'\"]*}"; then
+# if compadd "$expl[@]" -Q - \
+# "${(@)${(@)historywords:#[\$'\"]*}[1,i*10]}"; then
# # We have found at least one matching word, so we switch
# # on menu-completion and make sure that no other
# # completion function is called by setting _compskip.