projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync to zsh-lookup upstream repository
[grml-etc-core.git]
/
usr_share_grml
/
zsh
/
functions
/
Lookup
/
lookupinit
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
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-'
backend='-init-'
lookup_ei='-main-'