From c1d264c913deb2af817e4c7f8f8705214fcc944b Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 5 Jan 2016 18:16:24 +0100 Subject: [PATCH] Sync to zsh-lookup upstream repository This fixes a bunch of warnings with zsh's new warn_create_global behaviour. --- usr_share_grml/zsh/functions/Lookup/lookupinit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr_share_grml/zsh/functions/Lookup/lookupinit b/usr_share_grml/zsh/functions/Lookup/lookupinit index 802a9eb..b01551d 100644 --- a/usr_share_grml/zsh/functions/Lookup/lookupinit +++ b/usr_share_grml/zsh/functions/Lookup/lookupinit @@ -23,6 +23,10 @@ function lookup() { local -ix lookup_remote lookup_printout lookup_use_qh lookup_help local -ax args local -Ax lookup_communicate lu_parseopts_args opts + # Silence a few warnings for now. + # See http://www.zsh.org/mla/workers/2015/msg03364.html for details. + local -a match mbegin mend + local MATCH; integer MBEGIN MEND backend='-init-' lookup_ei='-main-' -- 2.1.4