diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:40:07 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:40:07 +0000 |
commit | 3cf289421ebbbb88e1486e57f0d7afc188044fd2 (patch) | |
tree | 87ec5b7081c5464a81f9540c72a3263829b4983d /Completion/User | |
parent | 4c5af127f4e64abcf02a1b8bd55b77e59eb5ecc4 (diff) | |
download | zsh-3cf289421ebbbb88e1486e57f0d7afc188044fd2.tar.gz zsh-3cf289421ebbbb88e1486e57f0d7afc188044fd2.tar.xz zsh-3cf289421ebbbb88e1486e57f0d7afc188044fd2.zip |
moved to Completion/Unix/Type/_perl_builtin_funcs
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_perl_builtin_funcs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Completion/User/_perl_builtin_funcs b/Completion/User/_perl_builtin_funcs deleted file mode 100644 index 65eebf9b1..000000000 --- a/Completion/User/_perl_builtin_funcs +++ /dev/null @@ -1,31 +0,0 @@ -#autoload -# -# _perl_builtin_funcs - zsh completion function -# -# Adam Spiers <adam@spiers.net> -# -# Calculate all built-in Perl functions. The result is cached -# for future use. -# - -if [[ ${+_perl_builtin_funcs} -eq 0 ]]; then - typeset -agU _perl_builtin_funcs - local perlfunc - - if [[ -n "${perlfunc:=$(man -w perlfunc 2>/dev/null; print -l ${^manpath}/man1/perlfunc.1(N) {/usr/man,/usr/share/man,/usr/local/man}/man1/perlfunc.1(N))}" ]]; then - _perl_builtin_funcs=( `perl -lne ' - $in_funcs++, next if /Alphabetical/; \ - next unless $in_funcs; \ - if (/^\.Ip "(\w+)/) { \ - print $1 unless $func{$1}; $func{$1}++ \ - }' $=perlfunc` - ) - else - echo "Couldn't find perlfunc man page; giving up." - return 1 - fi -fi - -local expl - -_wanted functions expl 'Perl built-in functions' compadd -a _perl_builtin_funcs |