zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Thomas A. Christensen II" <tchristensen@vet.k-state.edu>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Function definition file not found for default functions
Date: Thu, 19 Aug 2021 15:28:26 -0700	[thread overview]
Message-ID: <CAH+w=7bvvrhQXm6EZvx2kjSJqVYgiHh5TC8mLp6X7cwQ4K5O8Q@mail.gmail.com> (raw)
In-Reply-To: <5cd84803-5e65-5113-dd97-341511207739@vet.k-state.edu>

On Thu, Aug 19, 2021 at 1:16 PM Thomas A. Christensen II
<tchristensen@vet.k-state.edu> wrote:
>
>      $ zsh
>      /usr/share/zsh/5.0.2/scripts/newuser:6: zsh-newuser-install:
> function definition file not found
>
>      % autoload -Uz compinit
>      % compinit
>      zsh: compinit: function definition file not found
>
> I thought this was an issue with zsh 5.0.2, so I compiled zsh 5.8 from
> source and get the same errors with the newly compiled version. These
> errors break all of my usual plugins and configurations. What can I do
> to prevent them?

This means your $fpath value is not covering the directories where
these functions are defined.  There are several reasons this might be
happening, but the first two I'd check for are:
(1) The functions have not been installed in the same fpath locations
that were compiled into the binary.
(2) There is an (outdated?) /etc/z* file changing the value of fpath.


  reply	other threads:[~2021-08-19 22:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-19 20:15 Thomas A. Christensen II
2021-08-19 22:28 ` Bart Schaefer [this message]
2021-08-19 23:01   ` Thomas A. Christensen II

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7bvvrhQXm6EZvx2kjSJqVYgiHh5TC8mLp6X7cwQ4K5O8Q@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=tchristensen@vet.k-state.edu \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).