Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
FPATH strangeness partly explained (10316, 10489)
- X-seq: zsh-workers 11281
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: FPATH strangeness partly explained (10316, 10489)
- Date: Tue, 9 May 2000 16:03:48 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I haven't got this all the way debugged, but it appears to have something
to do with uniqarray().
Recall that I reported that when have this in my .zshrc:
if (autoload -U 2>/dev/null) ...
and that when I do
export FPATH
exec $ZSH_NAME
then the (autoload -U) returns nonzero when the new shell starts up.
Turns out that really it has to be
typeset -U fpath
export FPATH
exec $ZSH_NAME
If I leave out the `typeset -U fpath', then everything works fine.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author