zsh-users
 help / color / mirror / code / Atom feed
From: martin.ebourne@arcordia.com
To: zsh-users@sunsite.dk
Subject: FPATH being reset after .zshenv
Date: Wed, 1 Aug 2001 10:25:12 +0100	[thread overview]
Message-ID: <OF14D5A1D9.91032FEF-ON80256A9B.00335186@uk.jpmorgan.com> (raw)


Hi,

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.

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.

Why does it behave this way round? Is there anything I can do to get the
effect I want?

Cheers,

Martin.




This e-mail message is CONFIDENTIAL and may contain legally privileged
information.  If you are not the intended recipient you should not  read,
copy, distribute, disclose or otherwise use the information in this e-mail.
Please also telephone or fax us immediately and delete the message from
your system.  E-mail may be susceptible to data corruption, interception
and unauthorised amendment, and we do not accept liability for any such
corruption, interception or amendment or the consequences thereof.


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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01  9:25 martin.ebourne [this message]
2001-08-01  9:52 ` Borsenkow Andrej
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=OF14D5A1D9.91032FEF-ON80256A9B.00335186@uk.jpmorgan.com \
    --to=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).