about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:08:11 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:08:11 +0000
commitf347145efc6cce72c24bd9aade83bd970918c569 (patch)
tree7f5ede87d5617d77105b7c015a9c5f287d8be1ae
parentd73d9e9f7c67014399a000e1a93ce9bd115075ab (diff)
downloadzsh-f347145efc6cce72c24bd9aade83bd970918c569.tar.gz
zsh-f347145efc6cce72c24bd9aade83bd970918c569.tar.xz
zsh-f347145efc6cce72c24bd9aade83bd970918c569.zip
moved to Completion/Base/Completer/_menu
-rw-r--r--Completion/Core/_menu23
1 files changed, 0 insertions, 23 deletions
diff --git a/Completion/Core/_menu b/Completion/Core/_menu
deleted file mode 100644
index 41fc178ba..000000000
--- a/Completion/Core/_menu
+++ /dev/null
@@ -1,23 +0,0 @@
-#autoload
-
-[[ _matcher_num -gt 1 ]] && return 1
-
-# This completer is an example showing how menucompletion can be
-# implemented with the new completion system.
-# Use this one before the normal _complete completer, as in:
-#
-#   zstyle ":completion:::::" completer _menu _complete
-
-if [[ -n "$compstate[old_list]" ]]; then
-
-  # We have an old list, keep it and insert the next match.
-
-  compstate[old_list]=keep
-  compstate[insert]=$((compstate[old_insert]+1))
-else
-  # No old list, make completion insert the first match.
-
-  compstate[insert]=1
-fi
-
-return 1