Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completers using zstat don't work with zmodload -F zsh/stat
- X-seq: zsh-workers 29621
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: completers using zstat don't work with zmodload -F zsh/stat
- Date: Wed, 27 Jul 2011 18:44:41 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NVc0YXC+znWMcPSrnclnLE0j2ACmgmDXcZ1NKcAzXLI=; b=vkQeceFwSiAKZKw9tmoAeUmDz8W0rOTVA6WZGjITPMTGzlsZQ4qpv7wsUh9+IhCeY+ gmfU6ai6DdBazBWepcEJw5d27gle1WZ09F6GySGD6q4iVEVPTBjJa9JTYwBzV/D7mAdR dukuw564/c4JFOQgGeS1J600JpEO7TIzO/iBk=
- In-reply-to: <110727093848.ZM22383@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAHYJk3RmB+sYiUQ7BXX7qaJJ9s-NPg0JmCVB03H+_sTx+=a6Qw@mail.gmail.com> <110727012046.ZM21543@torch.brasslantern.com> <CAHYJk3STqY6PnSfbLXEsjMxjrRwNCRirLgSFpWATQ=rUx5GCrQ@mail.gmail.com> <110727093848.ZM22383@torch.brasslantern.com>
On 27 July 2011 18:38, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Jul 27, 11:04am, Mikael Magnusson wrote:
> }
> } I did have an alias, but only in root's .zshrc, didn't think to check
> } for that. Adding -U to the zrecompile command didn't help, I had to
> } remove the alias.
>
> Adding -U to zrecompile won't do anything unless you either first
> remove all the *.zwc files or at least one of the functions referenced
> by the .zwc file has changed since the last time zrecompile was run.
> It deliberately skips zcompile if there have been no changes to the
> source files.
I did that.
# alias zstat='builtin stat'
# rm $fpath[3].zwc*
removed `/usr/local/share/zsh/4.3.12-dev-1/functions.zwc'
removed `/usr/local/share/zsh/4.3.12-dev-1/functions.zwc.old'
# for a ($fpath) {[ -w $a:r -a $a/_*(N[1]) ] && zrecompile -p -U -z
$a.zwc $a/_*}
re-compiling /usr/local/share/zsh/4.3.12-dev-1/functions.zwc: succeeded
% umount <tab>
_canonical_paths_add_paths:6: no such builtin: stat
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author