summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdam Spiers <adamspiers@users.sourceforge.net>2000-04-27 00:05:53 +0000
committerAdam Spiers <adamspiers@users.sourceforge.net>2000-04-27 00:05:53 +0000
commitd00d0f0efa8e2021c9aa80d8f22c332a3ce3eb7c (patch)
treed48fea5d4bc0a6a8463a5ac582ea581154a2eb20
parent07dd91662165b57acd489801c3603d0d147fa89d (diff)
downloadzsh-d00d0f0efa8e2021c9aa80d8f22c332a3ce3eb7c.tar.gz
zsh-d00d0f0efa8e2021c9aa80d8f22c332a3ce3eb7c.tar.xz
zsh-d00d0f0efa8e2021c9aa80d8f22c332a3ce3eb7c.zip
added warning to _perl_modules for when perl not found on path (10949)
-rw-r--r--ChangeLog5
-rw-r--r--Completion/User/_perl_modules1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 835ea5c19..e1050bffa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-27  Adam Spiers <adam@spiers.net>
+
+	* 10949: Completion/User/_perl_modules: print warning when
+	perl not found on PATH forces guessing of @INC
+
 2000-04-26  Sven Wischnowsky  <wischnow@informatik.hu-berlin.de>
 
 	* 10933: Completion/Commands/_bash_completions,
diff --git a/Completion/User/_perl_modules b/Completion/User/_perl_modules
index 01c2eefa5..c6ea93f4c 100644
--- a/Completion/User/_perl_modules
+++ b/Completion/User/_perl_modules
@@ -31,6 +31,7 @@ if [[ ${+_perl_modules} -eq 0 ]]; then
     else
       # If perl isn't there, one wonders why the user's trying to
       # complete Perl modules.  Maybe her $path is wrong?
+      _message "Didn't find perl on \$PATH; guessing @INC ..."
 
       setopt localoptions extendedglob
       inc=( /usr/lib/perl5{,/{site_perl/,}<5->.([0-9]##)}(N)