zsh-workers
 help / color / mirror / code / Atom feed
* FPATH strangeness partly explained (10316, 10489)
@ 2000-05-09 16:03 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2000-05-09 16:03 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-09 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-09 16:03 FPATH strangeness partly explained (10316, 10489) Bart Schaefer

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).