Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

ISP OS upgrade = zsh function-files not found



I use zsh-4.3.9 on 2 ISPs: one is a NetBSD, the other FreeBSD.  The FreeBSD
just ugraded to FreeBSD 7.1-RELEASE #0, and, in doing so, from zsh-4.3.4 to
4.3.9.

Since the FreeBSD upgrade, at login I get:

/u/q/.zshrc:174: promptinit: function definition file not found
/u/q/.zshrc:177: is-at-least: function definition file not found
/u/q/.zshrc:178: compinit: function definition file not found
/u/q/.zshrc:179: colors: function definition file not found


In .zshrc I have:

171 # where to look for autoloaded function definitions:
172 fpath=(/usr/local/share/zsh/4.3.9/functions $HOME/.zfunc)
173
174 autoload -U promptinit; promptinit
175
176
177 autoload -U is-at-least; is-at-least
178 autoload -U compinit; compinit
179 autoload -U colors; colors


But that FreeBSD zsh function-defs directory,
/usr/local/share/zsh/4.3.9/functions, looks like this:

drwxr-xr-x 13 root wheel    512 Mar 23 14:24 ./
drwxr-xr-x  4 root wheel    512 Mar 23 14:24 ../
drwxr-xr-x  2 root wheel    512 Mar 23 14:24 Calendar/
-rw-r--r--  1 root wheel  80144 Mar 23 14:24 Calendar.zwc
drwxr-xr-x 14 root wheel   1024 Mar 23 14:24 Completion/
-rw-r--r--  1 root wheel 175240 Mar 23 14:24 Completion.zwc
drwxr-xr-x  2 root wheel    512 Mar 23 14:24 Exceptions/
-rw-r--r--  1 root wheel   1728 Mar 23 14:24 Exceptions.zwc
drwxr-xr-x  2 root wheel    512 Mar 23 14:24 MIME/
-rw-r--r--  1 root wheel  30792 Mar 23 14:24 MIME.zwc
drwxr-xr-x  2 root wheel    512 Mar 23 14:24 Misc/
-rw-r--r--  1 root wheel 126592 Mar 23 14:24 Misc.zwc
drwxr-xr-x  2 root wheel    512 Mar 23 14:24 Newuser/
-rw-r--r--  1 root wheel  53760 Mar 23 14:24 Newuser.zwc
drwxr-xr-x  2 root wheel   1024 Mar 23 14:24 Prompts/
-rw-r--r--  1 root wheel  80032 Mar 23 14:24 Prompts.zwc
drwxr-xr-x  2 root wheel    512 Mar 23 14:24 TCP/
-rw-r--r--  1 root wheel  73144 Mar 23 14:24 TCP.zwc
drwxr-xr-x  3 root wheel    512 Mar 23 14:24 VCS_Info/
-rw-r--r--  1 root wheel  21744 Mar 23 14:24 VCS_Info.zwc
drwxr-xr-x  2 root wheel   1024 Mar 23 14:24 Zftp/
-rw-r--r--  1 root wheel  99512 Mar 23 14:24 Zftp.zwc
drwxr-xr-x  2 root wheel   1536 Mar 23 14:24 Zle/
-rw-r--r--  1 root wheel 130472 Mar 23 14:24 Zle.zwc

In other words, it has subdirs in it.  Should it?  The functions dir on the
NetBSD system has no subdirs, just a long long list of individual
function-def files.  Do I need to tell the sysadmin to break out all the
subdirs into individual files?  If not, what do I need to do? Thanks.

-- 
       Think-tank cops & undercover cops; security, surveillance &
        secret service cops; cops walking the beat & cops driving
       through the street: it's a world full of cops.   --Paleface

Attachment: pgpbfdNt1ultw.pgp
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author