projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08c9c9c
)
Sync to zsh-lookup upstream repository
author
Frank Terbeck
<ft@grml.org>
Tue, 5 Jan 2016 17:16:24 +0000
(18:16 +0100)
committer
Frank Terbeck
<ft@grml.org>
Tue, 5 Jan 2016 17:16:24 +0000
(18:16 +0100)
This fixes a bunch of warnings with zsh's new warn_create_global
behaviour.
usr_share_grml/zsh/functions/Lookup/lookupinit
patch
|
blob
|
history
diff --git
a/usr_share_grml/zsh/functions/Lookup/lookupinit
b/usr_share_grml/zsh/functions/Lookup/lookupinit
index
802a9eb
..
b01551d
100644
(file)
--- 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-'