about summary refs log tree commit diff
path: root/Completion/User/_perl_modules
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-16 16:23:27 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-16 16:23:27 +0000
commit7cfb3626e5d78b632e5b62c200fdd906cf62c108 (patch)
tree5fc3c02692177559c98bf9ca1f42ed3ad5e4af2c /Completion/User/_perl_modules
parent2218c5e75d4fdd9b688d3cbe1329e690a660936e (diff)
downloadzsh-7cfb3626e5d78b632e5b62c200fdd906cf62c108.tar.gz
zsh-7cfb3626e5d78b632e5b62c200fdd906cf62c108.tar.xz
zsh-7cfb3626e5d78b632e5b62c200fdd906cf62c108.zip
zsh-workers/7871
Diffstat (limited to 'Completion/User/_perl_modules')
-rw-r--r--Completion/User/_perl_modules7
1 files changed, 3 insertions, 4 deletions
diff --git a/Completion/User/_perl_modules b/Completion/User/_perl_modules
index c909055ba..f43ec8889 100644
--- a/Completion/User/_perl_modules
+++ b/Completion/User/_perl_modules
@@ -1,6 +1,5 @@
 #compdef pmpath pmvers pmdesc pmload pmexp pmeth pmls pmcat pman pmfunc podgrep podtoc podpath
 #
-#
 # _perl_modules - zsh completion function
 #
 # Adam Spiers <adam@spiers.net>
@@ -8,8 +7,6 @@
 # Calculate all installed Perl modules.  The result is cached
 # for future use.
 #
-# Bugs:
-#   - can't cope with multiple installs of Perl
 
 # Change this if you have pminst and want to use it.  The zsh code
 # actually produces better results because pminst misses modules of
@@ -44,4 +41,6 @@ if [[ ${+_perl_modules} -eq 0 ]]; then
   fi
 fi
 
-compadd - $_perl_modules
+local expl
+_description expl "Perl modules"
+compadd "$expl[@]" - $_perl_modules