mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 17:31:02 +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
|
|
@ -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