zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _perl_module:_cache_invalid called with wrong cache-id
@ 2015-01-20 15:31 Jun T.
  0 siblings, 0 replies; only message in thread
From: Jun T. @ 2015-01-20 15:31 UTC (permalink / raw)
  To: zsh-workers

In _perl_module, _cache_invalid is called with a wrong cache identifier.


diff --git a/Completion/Unix/Type/_perl_modules b/Completion/Unix/Type/_perl_modules
index 1b61043..d27a7f7 100644
--- a/Completion/Unix/Type/_perl_modules
+++ b/Completion/Unix/Type/_perl_modules
@@ -71,7 +71,7 @@ _perl_modules () {
     perl_modules=_unknown_perl_modules$with_pod
   fi
 
-  if ( [[ ${(P)+perl_modules} -eq 0 ]] || _cache_invalid $perl_modules ) &&
+  if ( [[ ${(P)+perl_modules} -eq 0 ]] || _cache_invalid ${perl_modules#_} ) &&
      ! _retrieve_cache ${perl_modules#_};
   then
     if zstyle -t ":completion:${curcontext}:modules" try-to-use-pminst &&


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-20 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-20 15:31 PATCH: _perl_module:_cache_invalid called with wrong cache-id Jun T.

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).