Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ISP OS upgrade = zsh function-files not found
- X-seq: zsh-users 13978
- From: Russell Hoover <rj@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: ISP OS upgrade = zsh function-files not found
- Date: Fri, 27 Mar 2009 15:43:51 -0400
- In-reply-to: <090327001536.ZM10196@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090326183157.GA2269@xxxxxxxxx> <090326220427.ZM9826@xxxxxxxxxxxxxxxxxxxxxx> <20090327060332.GA24817@xxxxxxxxx> <090327001536.ZM10196@xxxxxxxxxxxxxxxxxxxxxx>
On Fri 03/27/09 at 12:15 AM -0700,
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Ah. Try removing ~/.zcompdump* (or removing $ZDOTDIR/.zcompdump* if
> you have set ZDOTDIR to point away from your home directory).
I do have a ~/.zcompdump file. (I don't use a ZDOTDIR/.) I changed the
name of ~/.zcompdump to something else, but at login I still get these
warnings:
/u/q/.zshrc:184: promptinit: function definition file not found
/u/q/.zshrc:187: is-at-least: function definition file not found
/u/q/.zshrc:188: compinit: function definition file not found
/u/q/.zshrc:189: colors: function definition file not found
This is with the following in .zshrc:
----------------------------------------------------------------
# where to look for autoloaded function definitions:
typeset -U fpath
fpath+=(~/.zfunc)
#fpath=(
# /usr/local/share/zsh/site-functions
# /usr/local/share/zsh/$ZSH_VERSION/functions{,**/*(N/)}
# ~/.zfunc
# )
#fpath=(/usr/local/share/zsh/4.3.9/functions $HOME/.zfunc)
autoload -U promptinit; promptinit
autoload -U is-at-least; is-at-least
autoload -U compinit; compinit
autoload -U colors; colors
# red="%{${fg[red]}%}"
# grey="%{${fg[grey]}%}"
# blue="%{${fg[blue]}%}"
zstyle ':completion:*' verbose yes
zstyle ':completion:*:descriptions' format '%B%d%b'
zstyle ':completion:*:messages' format '%d'
zstyle ':completion:*:warnings' format 'No matches for: %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' add-space yes
zstyle ':completion:*:default' list-prompt '%S%l %m %p %s'
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
## add colors to completions:
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
## For maximum completion:
zstyle ':completion:*' completer _complete _list _oldlist _expand _ignored \
_match _correct _approximate _prefix
---------------------------------------------------------------------------
(The above is a portion of my .zshrc.)
Meanwhile I've commented-out this line in my .zshenv:
#export FPATH=/usr/local/share/zsh/4.3.9/functions/:$HOME/.zfunc
because it was meant to "go with" this (now commented-out) line in .zshrc:
#fpath=(/usr/local/share/zsh/4.3.9/functions $HOME/.zfunc)
Here is my .zcompdump file:
-----------------------------------------------
1 #files: 1*......version: 4.3.9
2
3 _comps=(
4 'pkg_deinstall' '_pkgtools'
5 'pkg_fetch' '_pkgtools'
6 'pkg_glob' '_pkgtools'
7 'pkg_sort' '_pkgtools'
8 'pkg_which' '_pkgtools'
9 'pkgdb' '_pkgtools'
10 'portcvsweb' '_pkgtools'
11 'portinstall' '_pkgtools'
12 'ports_glob' '_pkgtools'
13 'portsclean' '_pkgtools'
14 'portsdb' '_pkgtools'
15 'portupgrade' '_pkgtools'
16 'portversion' '_pkgtools'
17 )
18
19 _services=(
20 )
21
22 _patcomps=(
23 )
24
25 _postpatcomps=(
26 )
27
28 _compautos=(
29 )
30
31
32 autoload -Uz _pkgtools
33
34 typeset -gUa _comp_assocs
35 _comp_assocs=( '' )
-----------------------------------------------
Thanks for any further tips.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author