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

Re: startup warnings



On Sat 03/28/09 at 08:30 AM -0700,
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:

> } But I don't know if this is correct, because if I put, in .zshenv:
> }       export FPATH=fpath+=(~/.zfunc)

> No, FPATH is a colon-delimited list of strings which is created by
> contactenating the elements of the fpath array.  The above either
> will choke with "unknown file attribute" or, if you've somehow
> disabled globbing, store the useless string "fpath+=(~/.zfunc)" in
> both FPATH and fpath.


But that can't mean that I should put the following in .zshenv:

export \
FPATH=/usr/local/share/zsh/site-functions:/usr/local/share/zsh/4.3.9/functions/Calendar:/usr/local/share/zsh/4.3.9/functions/Completion:/usr/local/share/zsh/4.3.9/functions/Completion/AIX:/usr/local/share/zsh/4.3.9/functions/Completion/BSD:/usr/local/share/zsh/4.3.9/functions/Completion/Base:/usr/local/share/zsh/4.3.9/functions/Completion/Cygwin:/usr/local/share/zsh/4.3.9/functions/Completion/Darwin:/usr/local/share/zsh/4.3.9/functions/Completion/Debian:/usr/local/share/zsh/4.3.9/functions/Completion/Linux:/usr/local/share/zsh/4.3.9/functions/Completion/Mandriva:/usr/local/share/zsh/4.3.9/functions/Completion/Redhat:/usr/local/share/zsh/4.3.9/functions/Completion/Unix:/usr/local/share/zsh/4.3.9/functions/Completion/X:/usr/local/share/zsh/4.3.9/functions/Completion/Zsh:/usr/local/share/zsh/4.3.9/functions/Exceptions:/usr/local/share/zsh/4.3.9/functions/MIME:/usr/local/share/zsh/4.3.9/functions/Misc:/usr/local/share/zsh/4.3.9/functions/Newuser:/usr/local/share/zsh/4.3.9/functions/Prompts:/usr/local/share/zsh/4.3.9/functions/TCP:/usr/local/share/zsh/4.3.9/functions/VCS_Info:/usr/local/share/zsh/4.3.9/functions/VCS_Info/Backends:/usr/local/share/zsh/4.3.9/functions/Zftp:/usr/local/share/zsh/4.3.9/functions/Zle:/u/q/.zfunc

I'm guessing there's got to be a way to shorten this.

Also, is it normal or okay for an installation of zsh on a FreeBSD system
to have all these Completion subdirs for all these other systems?? :

[shell:~]  [v4.3.9]  zsh/+1  1020 --> print -l $fpath
q0  Saturday  2009/03/28  19:23:10
/usr/local/share/zsh/site-functions
/usr/local/share/zsh/4.3.9/functions/Calendar
/usr/local/share/zsh/4.3.9/functions/Completion
/usr/local/share/zsh/4.3.9/functions/Completion/AIX
/usr/local/share/zsh/4.3.9/functions/Completion/BSD
/usr/local/share/zsh/4.3.9/functions/Completion/Base
/usr/local/share/zsh/4.3.9/functions/Completion/Cygwin
/usr/local/share/zsh/4.3.9/functions/Completion/Darwin
/usr/local/share/zsh/4.3.9/functions/Completion/Debian
/usr/local/share/zsh/4.3.9/functions/Completion/Linux
/usr/local/share/zsh/4.3.9/functions/Completion/Mandriva
/usr/local/share/zsh/4.3.9/functions/Completion/Redhat
/usr/local/share/zsh/4.3.9/functions/Completion/Unix
/usr/local/share/zsh/4.3.9/functions/Completion/X
/usr/local/share/zsh/4.3.9/functions/Completion/Zsh
/usr/local/share/zsh/4.3.9/functions/Exceptions
/usr/local/share/zsh/4.3.9/functions/MIME
/usr/local/share/zsh/4.3.9/functions/Misc
/usr/local/share/zsh/4.3.9/functions/Newuser
/usr/local/share/zsh/4.3.9/functions/Prompts
/usr/local/share/zsh/4.3.9/functions/TCP
/usr/local/share/zsh/4.3.9/functions/VCS_Info
/usr/local/share/zsh/4.3.9/functions/VCS_Info/Backends
/usr/local/share/zsh/4.3.9/functions/Zftp
/usr/local/share/zsh/4.3.9/functions/Zle
/u/q/.zfunc

Shouldn't the sysadmin leave the BSD Completion subdir in, and get rid of
the rest of them?  Should I tell him to do that?  Or does it matter?  Are
such extras typically left in?

I think I'm the only one on this small system (of only 30 or 40 logins at
any given time) who uses zsh.



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