mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-29 15:40:56 +01:00
added warning to _perl_modules for when perl not found on path (10949)
This commit is contained in:
parent
07dd916621
commit
d00d0f0efa
2 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue