zsh-users
 help / color / mirror / code / Atom feed
From: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
To: martin.ebourne@arcordia.com, zsh-users@sunsite.dk
Subject: RE: FPATH being reset after .zshenv
Date: Wed, 1 Aug 2001 13:52:01 +0400	[thread overview]
Message-ID: <001e01c11a6f$9c9902d0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <OF14D5A1D9.91032FEF-ON80256A9B.00335186@uk.jpmorgan.com>

>
> I would like to enable a number of my local functions for autoloading in
> all instances of zsh - interactive or otherwise.
>
> To do this I have modified fpath and registered functions for autoloading
> in the .zshenv file, which as I understand it is the only one it will
> always execute.
>

Even this one is skipped if zsh is started with -f or NO_RCS option is set
in /etc/zshenv. It is the only file that is garanteed to be executed.

> Unfortunately it seems that zsh resets the fpath after executing this file
> (it is empty while running the file). It does however, remember the
> autoload commands, which obviously then become useless.
>

I cannot reproduce it. Are you sure it is not reset in any other startup
file?

-andrej


  reply	other threads:[~2001-08-01  9:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01  9:25 martin.ebourne
2001-08-01  9:52 ` Borsenkow Andrej [this message]
2001-08-01 10:19 martin.ebourne
2001-08-01 10:37 ` Borsenkow Andrej
2001-08-01 11:05 martin.ebourne
2001-08-01 11:30 ` Borsenkow Andrej

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='001e01c11a6f$9c9902d0$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=martin.ebourne@arcordia.com \
    --cc=zsh-users@sunsite.dk \
    /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).